(svn r19455) -Codechange: split all airport information in Station to a seperate class
This commit is contained in:
@@ -29,7 +29,7 @@ AIDepotList::AIDepotList(AITile::TransportType transport_type)
|
||||
const Station *st;
|
||||
FOR_ALL_STATIONS(st) {
|
||||
if (st->owner == ::_current_company) {
|
||||
const AirportSpec *as = st->GetAirportSpec();
|
||||
const AirportSpec *as = st->airport.GetSpec();
|
||||
for (uint i = 0; i < as->nof_depots; i++) {
|
||||
this->AddItem(st->GetHangarTile(i));
|
||||
}
|
||||
|
Reference in New Issue
Block a user