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
commit305d6eeaef4fa537c24daed248b8fb3202e4ca70 (patch)
treeba3fde6efec0da2deba903ac682b3c97c8fa9053 /openttd.c
parent9ec2fdcbf3c6a7be52e714c4086fa8e09082b2d3 (diff)
downloadopenttd-305d6eeaef4fa537c24daed248b8fb3202e4ca70.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