changeset 6358 | e7997742bf02 |
parent 6338 | 0fb4f452873c |
child 6367 | 2f569d554980 |
--- a/src/station.h Fri Feb 16 07:32:22 2007 +0000 +++ b/src/station.h Fri Feb 16 09:38:43 2007 +0000 @@ -3,6 +3,7 @@ #ifndef STATION_H #define STATION_H +#include "airport.h" #include "player.h" #include "oldpool.h" #include "sprite.h" @@ -112,6 +113,12 @@ return type == RoadStop::BUS ? bus_stops : truck_stops; } + const AirportFTAClass *Airport() const + { + assert(airport_tile != 0); + return GetAirport(airport_type); + } + TileIndex xy; RoadStop *bus_stops; RoadStop *truck_stops;