changeset 4336:f6a365bc9a6a draft

(svn r6037) -Fix: never allow scrolling the map in the main menu (scroll-settings weren't reset if switched to mainmenu)
author truelight <truelight@openttd.org>
date Mon, 21 Aug 2006 14:59:23 +0000
parents 4e1ac3e8c830
children ed31c273defc
files openttd.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/openttd.c
+++ b/openttd.c
@@ -301,6 +301,9 @@
 
 	_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