(svn r1541) Fix: [ 1100767 ] fast forward in main menu

This commit is contained in:
dominik 2005-01-16 13:59:07 +00:00
parent f987f5f119
commit ac5a1406bc
2 changed files with 2 additions and 2 deletions

2
sdl.c
View File

@ -589,7 +589,7 @@ static int SdlVideoMainLoop(void)
if (keys[SDLK_TAB])
#endif
{
if (!_networking) _fast_forward |= 2;
if (!_networking && _game_mode != GM_MENU) _fast_forward |= 2;
} else if (_fast_forward & 2) {
_fast_forward = 0;
}

View File

@ -697,7 +697,7 @@ static int Win32GdiMainLoop()
#else
if (_wnd.has_focus && GetAsyncKeyState(VK_TAB) < 0) {
#endif
if (!_networking) _fast_forward |= 2;
if (!_networking && _game_mode != GM_MENU) _fast_forward |= 2;
} else if (_fast_forward&2) {
_fast_forward = 0;
}