mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-02-01 16:44:34 +01:00
Fix #8020: Add missing docking tiles around industry neutral stations
This commit is contained in:
committed by
Charles Pigott
parent
a82dca883f
commit
d4bd17d443
@@ -3116,13 +3116,11 @@ bool AfterLoadGame()
|
||||
if (IsDock(t) || IsOilRig(t)) Station::GetByTile(t)->ship_station.Add(t);
|
||||
}
|
||||
}
|
||||
|
||||
/* Scan for docking tiles */
|
||||
for (Station *st : Station::Iterate()) {
|
||||
if (st->ship_station.tile != INVALID_TILE) UpdateStationDockingTiles(st);
|
||||
}
|
||||
}
|
||||
|
||||
/* Update station docking tiles. */
|
||||
AfterLoadScanDockingTiles();
|
||||
|
||||
/* Compute station catchment areas. This is needed here in case UpdateStationAcceptance is called below. */
|
||||
Station::RecomputeCatchmentForAll();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user