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