diff src/genworld.cpp @ 6760:90fd4a119369 draft

(svn r9995) -Fix (r9962): Don't scroll the map at the start of a new game
author peter1138 <peter1138@openttd.org>
date Thu, 31 May 2007 07:21:33 +0000
parents f71c81ca38cd
children 1ed44baec4d2
line wrap: on
line diff
--- a/src/genworld.cpp
+++ b/src/genworld.cpp
@@ -290,6 +290,6 @@
 
 	/* Centre the view on the map */
 	if (FindWindowById(WC_MAIN_WINDOW, 0) != NULL) {
-		ScrollMainWindowToTile(TileXY(MapSizeX() / 2, MapSizeY() / 2));
+		ScrollMainWindowToTile(TileXY(MapSizeX() / 2, MapSizeY() / 2), true);
 	}
 }