File diff r28759:8c878dd42071 → r28760:a88826ce6a33
src/script/api/script_airport.cpp
Show inline comments
 
@@ -170,3 +170,10 @@
 

	
 
	return (int64_t)GetMaintenanceCostFactor(type) * _price[PR_INFRASTRUCTURE_AIRPORT] >> 3;
 
}
 

	
 
/* static */ SQInteger ScriptAirport::GetAirportNumHelipads(AirportType type)
 
{
 
	if (!IsAirportInformationAvailable(type)) return -1;
 

	
 
	return ::AirportSpec::Get(type)->fsm->num_helipads;
 
}