(svn r7727) -Fix (FS#498): sometimes ALT-TAB could trigger the fast forward.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
rubidium 18 years ago
parent 2da5a339eb
commit 67a1115408

@ -440,7 +440,9 @@ static void SdlVideoMainLoop(void)
#if defined(_DEBUG)
if (_shift_pressed)
#else
if (keys[SDLK_TAB])
/* Speedup when pressing tab, except when using ALT+TAB
* to switch to another application */
if (keys[SDLK_TAB] && (mod & KMOD_ALT) == 0)
#endif
{
if (!_networking && _game_mode != GM_MENU) _fast_forward |= 2;

Loading…
Cancel
Save