(svn r20375) -Codechange: make sure the watertype for existing airport tiles is set to invalid
This commit is contained in:
@@ -2153,6 +2153,12 @@ bool AfterLoadGame()
|
||||
FOR_ALL_DEPOTS(d) d->build_date = _date;
|
||||
}
|
||||
|
||||
if (CheckSavegameVersion(145)) {
|
||||
for (TileIndex t = 0; t < map_size; t++) {
|
||||
if (IsAirportTile(t)) SetWaterClass(t, WATER_CLASS_INVALID);
|
||||
}
|
||||
}
|
||||
|
||||
/* Road stops is 'only' updating some caches */
|
||||
AfterLoadRoadStops();
|
||||
AfterLoadLabelMaps();
|
||||
|
Reference in New Issue
Block a user