mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 15:41:15 +00:00
This commit is contained in:
parent
8aeef665c7
commit
9c5de7fd72
@ -1985,13 +1985,6 @@ bool AfterLoadGame()
|
||||
}
|
||||
}
|
||||
|
||||
if (IsSavegameVersionBefore(SLV_102)) {
|
||||
for (TileIndex t = 0; t < map_size; t++) {
|
||||
/* Now all crossings should be in correct state */
|
||||
if (IsLevelCrossingTile(t)) UpdateLevelCrossing(t, false);
|
||||
}
|
||||
}
|
||||
|
||||
if (IsSavegameVersionBefore(SLV_103)) {
|
||||
/* Non-town-owned roads now store the closest town */
|
||||
UpdateNearestTownForRoadTiles(false);
|
||||
@ -3196,9 +3189,9 @@ bool AfterLoadGame()
|
||||
}
|
||||
}
|
||||
|
||||
/* Refresh all level crossings to bar adjacent crossing tiles. */
|
||||
/* Refresh all level crossings to bar adjacent crossing tiles, if needed. */
|
||||
for (TileIndex tile = 0; tile < Map::Size(); tile++) {
|
||||
if (IsLevelCrossingTile(tile)) UpdateLevelCrossing(tile, false, true);
|
||||
if (IsLevelCrossingTile(tile)) UpdateLevelCrossing(tile, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user