(svn r18268) -Feature: [NewGRF] Make price base multipliers related to vehicles only apply to the GRF locally, if it defines engines of that type itself.
This commit is contained in:
@@ -542,7 +542,7 @@ Money Aircraft::GetRunningCost() const
|
||||
{
|
||||
const Engine *e = Engine::Get(this->engine_type);
|
||||
uint cost_factor = GetVehicleProperty(this, PROP_AIRCRAFT_RUNNING_COST_FACTOR, e->u.air.running_cost);
|
||||
return GetPrice(PR_RUNNING_AIRCRAFT, cost_factor);
|
||||
return GetPrice(PR_RUNNING_AIRCRAFT, cost_factor, e->grffile);
|
||||
}
|
||||
|
||||
void Aircraft::OnNewDay()
|
||||
|
Reference in New Issue
Block a user