summaryrefslogtreecommitdiff
path: root/src/genworld.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-05-31 07:21:33 +0000
committerpeter1138 <peter1138@openttd.org>2007-05-31 07:21:33 +0000
commita672a8f77d855a2879bf7b3b7a99b9f9eef1fdb8 (patch)
tree89c9cd02e86caedb29b9788cbd81578bbef44c26 /src/genworld.cpp
parent86abe1b2292b8e1fa9c4f86febb16dddff1b5334 (diff)
downloadopenttd-a672a8f77d855a2879bf7b3b7a99b9f9eef1fdb8.tar.xz
(svn r9995) -Fix (r9962): Don't scroll the map at the start of a new game
Diffstat (limited to 'src/genworld.cpp')
-rw-r--r--src/genworld.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/genworld.cpp b/src/genworld.cpp
index 22110432b..9d1d92cd9 100644
--- a/src/genworld.cpp
+++ b/src/genworld.cpp
@@ -290,6 +290,6 @@ void GenerateWorld(int mode, uint size_x, uint size_y)
/* 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);
}
}