(svn r16618) -Fix (r16614): Silence a warning.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
frosch 15 years ago
parent acff607624
commit b07ef35f44

@ -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)

Loading…
Cancel
Save