summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2005-01-16 13:59:07 +0000
committerdominik <dominik@openttd.org>2005-01-16 13:59:07 +0000
commitb119b6c474268d0bad926fb10f0ac7f2857f5a09 (patch)
treebf111366b357754f128c0c4577279d87668b2194
parent340a9ab6becbfe31f410aed4de4c5bbc2a2658e5 (diff)
downloadopenttd-b119b6c474268d0bad926fb10f0ac7f2857f5a09.tar.xz
(svn r1541) Fix: [ 1100767 ] fast forward in main menu
-rw-r--r--sdl.c2
-rw-r--r--win32.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sdl.c b/sdl.c
index 98d1805c6..dbbfecadc 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 9a2e0ab70..2a1b328c7 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;
}