summaryrefslogtreecommitdiff
path: root/train_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'train_cmd.c')
-rw-r--r--train_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/train_cmd.c b/train_cmd.c
index 615610885..b17248389 100644
--- a/train_cmd.c
+++ b/train_cmd.c
@@ -2503,7 +2503,7 @@ static void CheckIfTrainNeedsService(Vehicle *v)
uint tile;
byte depot;
- if (_patches.no_train_service && IS_HUMAN_PLAYER(v->owner))
+ if (_patches.servint_trains == 0 && IS_HUMAN_PLAYER(v->owner))
return;
if (v->date_of_last_service + v->service_interval > _date)