summaryrefslogtreecommitdiff
path: root/ship_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ship_cmd.c')
-rw-r--r--ship_cmd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ship_cmd.c b/ship_cmd.c
index eaf50fde1..6c8b0cc7a 100644
--- a/ship_cmd.c
+++ b/ship_cmd.c
@@ -127,9 +127,13 @@ void OnNewDay_Ship(Vehicle *v)
AgeVehicle(v);
CheckIfShipNeedsService(v);
+ CheckOrders(v);
+
if (v->vehstatus & VS_STOPPED)
return;
+
+
cost = ship_vehicle_info(v->engine_type).running_cost * _price.ship_running / 364;
v->profit_this_year -= cost >> 8;