(svn r19327) -Codechange: make the oilrig a part of the original airports array so some special cases can be removed
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
|
||||
/* static */ bool AIAirport::IsAirportInformationAvailable(AirportType type)
|
||||
{
|
||||
return type >= 0 && type < (AirportType)NUM_AIRPORTS;
|
||||
return type >= 0 && type < (AirportType)NUM_AIRPORTS && AirportSpec::Get(type)->enabled;
|
||||
}
|
||||
|
||||
/* static */ Money AIAirport::GetPrice(AirportType type)
|
||||
|
||||
Reference in New Issue
Block a user