(svn r22482) -Codechange: Add some contants for the number of ticks between certain cyclical tasks.

This commit is contained in:
frosch
2011-05-21 11:26:37 +00:00
parent f761b7249c
commit 62b6d0eb0e
7 changed files with 15 additions and 15 deletions

View File

@@ -801,7 +801,7 @@ void CallVehicleTicks()
{
_vehicles_to_autoreplace.Clear();
_age_cargo_skip_counter = (_age_cargo_skip_counter == 0) ? 184 : (_age_cargo_skip_counter - 1);
_age_cargo_skip_counter = (_age_cargo_skip_counter == 0) ? CARGO_AGING_TICKS - 1 : (_age_cargo_skip_counter - 1);
RunVehicleDayProc();