summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);
}
}