diff options
author | peter1138 <peter1138@openttd.org> | 2007-05-31 07:21:33 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-05-31 07:21:33 +0000 |
commit | a672a8f77d855a2879bf7b3b7a99b9f9eef1fdb8 (patch) | |
tree | 89c9cd02e86caedb29b9788cbd81578bbef44c26 /src | |
parent | 86abe1b2292b8e1fa9c4f86febb16dddff1b5334 (diff) | |
download | openttd-a672a8f77d855a2879bf7b3b7a99b9f9eef1fdb8.tar.xz |
(svn r9995) -Fix (r9962): Don't scroll the map at the start of a new game
Diffstat (limited to 'src')
-rw-r--r-- | src/genworld.cpp | 2 |
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); } } |