File diff r12193:b369d1676a33 → r12194:be89dc048e69
src/ai/api/ai_airport.cpp
Show inline comments
 
@@ -12,7 +12,7 @@
 

	
 
/* static */ bool AIAirport::IsValidAirportType(AirportType type)
 
{
 
	return type >= 0 && type < NUM_AIRPORTS && ::GetAirport(type)->IsAvailable();
 
	return type >= 0 && type < (AirportType)NUM_AIRPORTS && ::GetAirport(type)->IsAvailable();
 
}
 

	
 
/* static */ Money AIAirport::GetPrice(AirportType type)