1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00

Remove an old workaround (Fixes #2263)

The workaround was added when we were still using OIS for input. It doesn't seem to be needed with SDL.
This commit is contained in:
scrawl 2015-01-10 00:07:40 +01:00
parent efbc8742a0
commit 2ac23008f5

View File

@ -409,8 +409,7 @@ namespace MWInput
if (mControlSwitch["playerviewswitch"]) {
// work around preview mode toggle when pressing Alt+Tab
if (actionIsActive(A_TogglePOV) && !mInputManager->isModifierHeld(SDL_Keymod(KMOD_ALT))) {
if (actionIsActive(A_TogglePOV)) {
if (mPreviewPOVDelay <= 0.5 &&
(mPreviewPOVDelay += dt) > 0.5)
{