changeset 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 0593e2f9bf45
children f75a2f332873
files src/genworld.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);
 	}
 }