From 305d6eeaef4fa537c24daed248b8fb3202e4ca70 Mon Sep 17 00:00:00 2001 From: truelight Date: Mon, 21 Aug 2006 14:59:23 +0000 Subject: [PATCH] (svn r6037) -Fix: never allow scrolling the map in the main menu (scroll-settings weren't reset if switched to mainmenu) --- openttd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openttd.c b/openttd.c index 959890b00e..bfae908e3b 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