From a9413b12a25ca3f2fca654084c3cbea621fd5255 Mon Sep 17 00:00:00 2001 From: dominik Date: Tue, 10 Aug 2004 17:06:10 +0000 Subject: (svn r12) Change: removed patch no_train_service. Instead you can set the default service interval for any vehicle type to 'disabled'. --- aircraft_cmd.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'aircraft_cmd.c') diff --git a/aircraft_cmd.c b/aircraft_cmd.c index c78bddca2..2e95c1235 100644 --- a/aircraft_cmd.c +++ b/aircraft_cmd.c @@ -525,6 +525,9 @@ static void CheckIfAircraftNeedsService(Vehicle *v) { Station *st; + if (_patches.servint_aircraft == 0 && IS_HUMAN_PLAYER(v->owner)) + return; + if (v->date_of_last_service + v->service_interval > _date) return; -- cgit v1.2.3-54-g00ecf