From ac5a1406bc04b088730a7f83bab338c278e5cf76 Mon Sep 17 00:00:00 2001 From: dominik Date: Sun, 16 Jan 2005 13:59:07 +0000 Subject: [PATCH] (svn r1541) Fix: [ 1100767 ] fast forward in main menu --- sdl.c | 2 +- win32.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdl.c b/sdl.c index 98d1805c60..dbbfecadc7 100644 --- a/sdl.c +++ b/sdl.c @@ -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; } diff --git a/win32.c b/win32.c index 9a2e0ab70e..2a1b328c74 100644 --- a/win32.c +++ b/win32.c @@ -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; }