diff options
author | peter1138 <peter1138@openttd.org> | 2008-08-15 17:54:43 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-08-15 17:54:43 +0000 |
commit | 550fc3a3f5185201ec6587734bb5686a2109c1a1 (patch) | |
tree | 0322a181ba444470d5defcf3fcdc45463c6c6cb5 /src/aircraft_cmd.cpp | |
parent | 1659719f31ed8b6ec7978b380f572da15a2b9f11 (diff) | |
download | openttd-550fc3a3f5185201ec6587734bb5686a2109c1a1.tar.xz |
(svn r14078) -Codechange: Rename *VehicleInfo::base_cost to cost_factor, indicating what it actually is.
Diffstat (limited to 'src/aircraft_cmd.cpp')
-rw-r--r-- | src/aircraft_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp index eab3d3cac..2d000ff3b 100644 --- a/src/aircraft_cmd.cpp +++ b/src/aircraft_cmd.cpp @@ -228,7 +228,7 @@ void GetAircraftSpriteSize(EngineID engine, uint &width, uint &height) static CommandCost EstimateAircraftCost(EngineID engine, const AircraftVehicleInfo *avi) { - return CommandCost(EXPENSES_NEW_VEHICLES, GetEngineProperty(engine, 0x0B, avi->base_cost) * (_price.aircraft_base >> 3) >> 5); + return CommandCost(EXPENSES_NEW_VEHICLES, GetEngineProperty(engine, 0x0B, avi->cost_factor) * (_price.aircraft_base >> 3) >> 5); } |