(svn r9995) -Fix (r9962): Don't scroll the map at the start of a new game

This commit is contained in:
peter1138 2007-05-31 07:21:33 +00:00
parent 86abe1b229
commit a672a8f77d

View File

@ -290,6 +290,6 @@ void GenerateWorld(int mode, uint size_x, uint size_y)
/* Centre the view on the map */ /* Centre the view on the map */
if (FindWindowById(WC_MAIN_WINDOW, 0) != NULL) { if (FindWindowById(WC_MAIN_WINDOW, 0) != NULL) {
ScrollMainWindowToTile(TileXY(MapSizeX() / 2, MapSizeY() / 2)); ScrollMainWindowToTile(TileXY(MapSizeX() / 2, MapSizeY() / 2), true);
} }
} }