diff options
-rw-r--r-- | src/aircraft.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aircraft.h b/src/aircraft.h index f020b2504..545464e52 100644 --- a/src/aircraft.h +++ b/src/aircraft.h @@ -53,7 +53,7 @@ static inline bool IsAircraftBuildableAtStation(EngineID engine, TileIndex tile) const AirportFTAClass *apc = st->Airport(); const AircraftVehicleInfo *avi = AircraftVehInfo(engine); - return apc->flags & (avi->subtype & AIR_CTOL ? AirportFTAClass::AIRPLANES : AirportFTAClass::HELICOPTERS); + return (apc->flags & (avi->subtype & AIR_CTOL ? AirportFTAClass::AIRPLANES : AirportFTAClass::HELICOPTERS)) != 0; } uint16 AircraftDefaultCargoCapacity(CargoID cid, const AircraftVehicleInfo*); |