Changeset - r5461:9109bc0466d1
[Not reviewed]
master
0 1 0
rubidium - 18 years ago 2007-01-01 19:37:53
rubidium@openttd.org
(svn r7727) -Fix (FS#498): sometimes ALT-TAB could trigger the fast forward.
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
video/sdl_v.c
Show inline comments
 
@@ -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;
0 comments (0 inline, 0 general)