mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r16618) -Fix (r16614): Silence a warning.
This commit is contained in:
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…
Reference in New Issue
Block a user