diff options
Diffstat (limited to 'ship_cmd.c')
-rw-r--r-- | ship_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ship_cmd.c b/ship_cmd.c index 6c8b0cc7a..cc5127033 100644 --- a/ship_cmd.c +++ b/ship_cmd.c @@ -85,7 +85,7 @@ static void CheckIfShipNeedsService(Vehicle *v) { int i; - if (_patches.servint_ships == 0 && IS_HUMAN_PLAYER(v->owner)) + if (_patches.servint_ships == 0) return; if (v->date_of_last_service + v->service_interval > _date) @@ -97,7 +97,7 @@ static void CheckIfShipNeedsService(Vehicle *v) if ((v->next_order & (OT_MASK | OF_FULL_LOAD)) == (OT_GOTO_DEPOT | OF_FULL_LOAD)) return; - if (_patches.gotodepot && IS_HUMAN_PLAYER(v->owner) && ScheduleHasDepotOrders(v->schedule_ptr)) + if (_patches.gotodepot && ScheduleHasDepotOrders(v->schedule_ptr)) return; i = FindClosestShipDepot(v); |