diff options
Diffstat (limited to 'src/ai/api')
-rw-r--r-- | src/ai/api/ai_depotlist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_depotlist.cpp b/src/ai/api/ai_depotlist.cpp index f4cdb1a08..c53804d04 100644 --- a/src/ai/api/ai_depotlist.cpp +++ b/src/ai/api/ai_depotlist.cpp @@ -25,7 +25,7 @@ AIDepotList::AIDepotList(AITile::TransportType transport_type) if (st->owner == ::_current_company) { const AirportFTAClass *afc = st->Airport(); for (uint i = 0; i < afc->nof_depots; i++) { - this->AddItem(st->xy + ToTileIndexDiff(afc->airport_depots[i])); + this->AddItem(st->airport_tile + ToTileIndexDiff(afc->airport_depots[i])); } } } |