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
commit9cb7ebfccc98c86f744bf805ec6ddf23c66e4c8c (patch)
tree89c9cd02e86caedb29b9788cbd81578bbef44c26 /src/genworld.cpp
parent311b04e87a6059b66e2abd7d85ffadee42f049f0 (diff)
downloadopenttd-9cb7ebfccc98c86f744bf805ec6ddf23c66e4c8c.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);
}
}