1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-24 23:19:09 +00:00

(svn r12) Change: removed patch no_train_service. Instead you can set the default service interval for any vehicle type to 'disabled'.

This commit is contained in:
dominik
2004-08-10 17:06:10 +00:00
parent ee4511a836
commit a9413b12a2
8 changed files with 27 additions and 15 deletions

View File

@@ -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)