Update to 1.10.0

This commit is contained in:
dP
2020-04-01 14:50:45 +03:00
parent d4ae6a1d91
commit d01b776e2d
60 changed files with 690 additions and 219 deletions
+11
View File
@@ -141,6 +141,17 @@ 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),