mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r9995) -Fix (r9962): Don't scroll the map at the start of a new game
This commit is contained in:
parent
86abe1b229
commit
a672a8f77d
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue