Fix #8021: limit savegame range for docking tiles fixing

This commit is contained in:
glx
2020-05-06 22:44:47 +02:00
committed by glx22
parent 64278fd598
commit bc8333723c
3 changed files with 8 additions and 15 deletions

View File

@@ -141,17 +141,6 @@ void AfterLoadRoadStops()
}
}
/**
* (Re)scan for station docking tiles after loading a savegame.
*/
void AfterLoadScanDockingTiles()
{
/* Scan for docking tiles */
for (Station *st : Station::Iterate()) {
if (st->ship_station.tile != INVALID_TILE) UpdateStationDockingTiles(st);
}
}
static const SaveLoad _roadstop_desc[] = {
SLE_VAR(RoadStop, xy, SLE_UINT32),
SLE_CONDNULL(1, SL_MIN_VERSION, SLV_45),