summaryrefslogtreecommitdiff
path: root/ship_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ship_cmd.c')
-rw-r--r--ship_cmd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ship_cmd.c b/ship_cmd.c
index a4993998b..eaf50fde1 100644
--- a/ship_cmd.c
+++ b/ship_cmd.c
@@ -85,6 +85,9 @@ static void CheckIfShipNeedsService(Vehicle *v)
{
int i;
+ if (_patches.servint_ships == 0 && IS_HUMAN_PLAYER(v->owner))
+ return;
+
if (v->date_of_last_service + v->service_interval > _date)
return;