1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-03 03:49:41 +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)
{