(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:
@@ -1833,7 +1833,7 @@ Money RoadVehicle::GetRunningCost() const
|
||||
uint cost_factor = GetVehicleProperty(this, PROP_ROADVEH_RUNNING_COST_FACTOR, e->u.road.running_cost);
|
||||
if (cost_factor == 0) return 0;
|
||||
|
||||
return GetPrice(e->u.road.running_cost_class, cost_factor);
|
||||
return GetPrice(e->u.road.running_cost_class, cost_factor, e->grffile);
|
||||
}
|
||||
|
||||
bool RoadVehicle::Tick()
|
||||
|
Reference in New Issue
Block a user