1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-02 06:19:41 +00:00

Merge remote-tracking branch 'scrawl/alttab'

This commit is contained in:
Marc Zinnschlag 2012-08-27 20:32:56 +02:00
commit 14b4263143

View file

@ -253,7 +253,9 @@ namespace MWInput
mPlayer.setUpDown (0);
if (mControlSwitch["playerviewswitch"]) {
if (actionIsActive(A_TogglePOV)) {
// work around preview mode toggle when pressing Alt+Tab
if (actionIsActive(A_TogglePOV) && !mKeyboard->isModifierDown (OIS::Keyboard::Alt)) {
if (mPreviewPOVDelay <= 0.5 &&
(mPreviewPOVDelay += dt) > 0.5)
{