@@ -29,7 +29,7 @@ AIDepotList::AIDepotList(AITile::Transpo
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));
}