(svn r7947) -Backport from trunk (r7727):

- [sdl] sometimes ALT-TAB could trigger the fast forward
This commit is contained in:
Darkvater 2007-01-07 12:05:47 +00:00
parent 610b6e3953
commit 2684cb2525
1 changed files with 3 additions and 1 deletions

View File

@ -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;