From d507136e04432c420bbf48bb322c22335bc0dbfa Mon Sep 17 00:00:00 2001 From: frosch Date: Tue, 24 Nov 2009 13:15:58 +0000 Subject: (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. --- src/aircraft_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/aircraft_cmd.cpp') diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp index 159033199..12315894e 100644 --- a/src/aircraft_cmd.cpp +++ b/src/aircraft_cmd.cpp @@ -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() -- cgit v1.2.3-54-g00ecf