diff options
Diffstat (limited to 'src/ship_cmd.cpp')
-rw-r--r-- | src/ship_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp index 77244bfb6..c3ddb5226 100644 --- a/src/ship_cmd.cpp +++ b/src/ship_cmd.cpp @@ -421,7 +421,7 @@ static bool ShipAccelerate(Vehicle *v) static int32 EstimateShipCost(EngineID engine_type) { - return ShipVehInfo(engine_type)->base_cost * (_price.ship_base>>3)>>5; + return GetEngineProperty(engine_type, 0x0A, ShipVehInfo(engine_type)->base_cost) * (_price.ship_base>>3)>>5; } static void ShipArrivesAt(const Vehicle* v, Station* st) |