File diff r18844:a10105b3df75 → r18845:66bf168f1100
src/airport.cpp
Show inline comments
 
@@ -198,13 +198,13 @@ static AirportFTA *AirportBuildAutomata(
 
	}
 
	return FAutomata;
 
}
 

	
 
/**
 
 * Get the finite state machine of an airport type.
 
 * @param airport_type Airport type to query FTA from. @see AirportTypes
 
 * @param airport_type %Airport type to query FTA from. @see AirportTypes
 
 * @return Finite state machine of the airport.
 
 */
 
const AirportFTAClass *GetAirport(const byte airport_type)
 
{
 
	if (airport_type == AT_DUMMY) return &_airportfta_dummy;
 
	return AirportSpec::Get(airport_type)->fsm;