(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

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