summaryrefslogtreecommitdiff
path: root/openttd.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-08-21 14:59:23 +0000
committertruelight <truelight@openttd.org>2006-08-21 14:59:23 +0000
commit5ca40263a8cdf469f3a17c74e5147ca0726525ee (patch)
treeba3fde6efec0da2deba903ac682b3c97c8fa9053 /openttd.c
parentf6b17149c6650036361ef2d3441788960b9d4aa0 (diff)
downloadopenttd-5ca40263a8cdf469f3a17c74e5147ca0726525ee.tar.xz
(svn r6037) -Fix: never allow scrolling the map in the main menu (scroll-settings weren't reset if switched to mainmenu)
Diffstat (limited to 'openttd.c')
-rw-r--r--openttd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openttd.c b/openttd.c
index 959890b00..bfae908e3 100644
--- a/openttd.c
+++ b/openttd.c
@@ -301,6 +301,9 @@ static void LoadIntroGame(void)
_pause = 0;
_local_player = 0;
+ /* Make sure you can't scroll in the menu */
+ _scrolling_viewport = 0;
+ _cursor.fix_at = false;
MarkWholeScreenDirty();
// Play main theme