|
|
@ -170,6 +170,7 @@ void VehicleServiceInDepot(Vehicle *v)
|
|
|
|
v->reliability = v->GetEngine()->reliability;
|
|
|
|
v->reliability = v->GetEngine()->reliability;
|
|
|
|
/* Prevent vehicles from breaking down directly after exiting the depot. */
|
|
|
|
/* Prevent vehicles from breaking down directly after exiting the depot. */
|
|
|
|
v->breakdown_chance /= 4;
|
|
|
|
v->breakdown_chance /= 4;
|
|
|
|
|
|
|
|
if (_settings_game.difficulty.vehicle_breakdowns == 1) v->breakdown_chance = 0; // on reduced breakdown
|
|
|
|
v = v->Next();
|
|
|
|
v = v->Next();
|
|
|
|
} while (v != nullptr && v->HasEngineType());
|
|
|
|
} while (v != nullptr && v->HasEngineType());
|
|
|
|
}
|
|
|
|
}
|
|
|
|