(svn r19465) -Codechange: support for multi-tile hangars
This commit is contained in:
@@ -96,7 +96,7 @@
|
||||
if (st->owner != _current_company) return -1;
|
||||
if ((st->facilities & FACIL_AIRPORT) == 0) return -1;
|
||||
|
||||
return st->airport.GetSpec()->nof_depots;
|
||||
return st->airport.GetNumHangars();
|
||||
}
|
||||
|
||||
/* static */ TileIndex AIAirport::GetHangarOfAirport(TileIndex tile)
|
||||
|
Reference in New Issue
Block a user