Change: Allow all tiles around docks to be docking tiles (#9578)
This commit is contained in:
@@ -3106,14 +3106,14 @@ bool AfterLoadGame()
|
||||
}
|
||||
}
|
||||
|
||||
if (IsSavegameVersionBeforeOrAt(SLV_ENDING_YEAR)) {
|
||||
/* Update station docking tiles. Was only needed for pre-SLV_MULTITLE_DOCKS
|
||||
* savegames, but a bug in docking tiles touched all savegames between
|
||||
* SLV_MULTITILE_DOCKS and SLV_ENDING_YEAR. */
|
||||
if (IsSavegameVersionBefore(SLV_DOCK_DOCKINGTILES)) {
|
||||
/* All tiles around docks may be docking tiles. */
|
||||
for (Station *st : Station::Iterate()) {
|
||||
if (st->ship_station.tile != INVALID_TILE) UpdateStationDockingTiles(st);
|
||||
}
|
||||
}
|
||||
|
||||
if (IsSavegameVersionBeforeOrAt(SLV_ENDING_YEAR)) {
|
||||
/* Reset roadtype/streetcartype info for non-road bridges. */
|
||||
for (TileIndex t = 0; t < map_size; t++) {
|
||||
if (IsTileType(t, MP_TUNNELBRIDGE) && GetTunnelBridgeTransportType(t) != TRANSPORT_ROAD) {
|
||||
|
Reference in New Issue
Block a user