From f2743cd5ed72a2d6224ffa828aab796ed771cef2 Mon Sep 17 00:00:00 2001 From: yexo Date: Fri, 19 Mar 2010 09:58:46 +0000 Subject: (svn r19464) -Codechange: move GetHangarTile to Airport --- src/ai/api/ai_depotlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ai/api/ai_depotlist.cpp') diff --git a/src/ai/api/ai_depotlist.cpp b/src/ai/api/ai_depotlist.cpp index 3a58c2c45..bade09bcd 100644 --- a/src/ai/api/ai_depotlist.cpp +++ b/src/ai/api/ai_depotlist.cpp @@ -31,7 +31,7 @@ AIDepotList::AIDepotList(AITile::TransportType transport_type) if (st->owner == ::_current_company) { const AirportSpec *as = st->airport.GetSpec(); for (uint i = 0; i < as->nof_depots; i++) { - this->AddItem(st->GetHangarTile(i)); + this->AddItem(st->airport.GetHangarTile(i)); } } } -- cgit v1.2.3-54-g00ecf