(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

@@ -85,6 +85,9 @@ static void CheckIfShipNeedsService(Vehicle *v)
{
int i;
if (_patches.servint_ships == 0 && IS_HUMAN_PLAYER(v->owner))
return;
if (v->date_of_last_service + v->service_interval > _date)
return;