mirror of https://github.com/OpenTTD/OpenTTD
(svn r18897) -Fix: Land area information read the stationspec also for non-rail-stationtiles, which is no longer valid since r18876.
parent
9e106dca81
commit
4034f249db
|
@ -2521,6 +2521,7 @@ static void GetTileDesc_Station(TileIndex tile, TileDesc *td)
|
|||
}
|
||||
td->build_date = BaseStation::GetByTile(tile)->build_date;
|
||||
|
||||
if (HasStationTileRail(tile)) {
|
||||
const StationSpec *spec = GetStationSpec(tile);
|
||||
|
||||
if (spec != NULL) {
|
||||
|
@ -2532,6 +2533,7 @@ static void GetTileDesc_Station(TileIndex tile, TileDesc *td)
|
|||
td->grf = gc->name;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
StringID str;
|
||||
switch (GetStationType(tile)) {
|
||||
|
|
Loading…
Reference in New Issue