(svn r2041) -Fix: not all vehicles did get a day_proc call (because of rounding errors)

This commit is contained in:
truelight
2005-03-24 13:59:44 +00:00
parent 0a95a224ff
commit 49d69f6fa3
4 changed files with 48 additions and 31 deletions

View File

@@ -2093,9 +2093,7 @@ static void Load_VEHS(void)
}
}
/* This is to ensure all pointers are within the limits of
_vehicles_size */
if (_vehicle_id_ctr_day >= GetVehiclePoolSize())
if (_sl.full_version < 0x0B01)
_vehicle_id_ctr_day = 0;
}