(svn r9678) -Codechange: Support changing of aircraft running cost via callback 36.

This commit is contained in:
peter1138 2007-04-19 18:49:40 +00:00
parent 0552b19225
commit a40d53d8d1
1 changed files with 1 additions and 1 deletions

View File

@ -717,7 +717,7 @@ void OnNewDay_Aircraft(Vehicle *v)
if (v->vehstatus & VS_STOPPED) return;
int32 cost = AircraftVehInfo(v->engine_type)->running_cost * _price.aircraft_running / 364;
int32 cost = GetVehicleProperty(v, 0x0E, AircraftVehInfo(v->engine_type)->running_cost) * _price.aircraft_running / 364;
v->profit_this_year -= cost >> 8;