diff options
author | truelight <truelight@openttd.org> | 2005-03-24 13:59:44 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-03-24 13:59:44 +0000 |
commit | 88ef277dc3678610bf2b47437dcbcc00f6fbe333 (patch) | |
tree | 0b128e45836acd883ea7d555799b51783e559d1c /vehicle.c | |
parent | ccd6a0614f57518fffec7bd5fa4c07e9eb1bfd2d (diff) | |
download | openttd-88ef277dc3678610bf2b47437dcbcc00f6fbe333.tar.xz |
(svn r2041) -Fix: not all vehicles did get a day_proc call (because of rounding errors)
Diffstat (limited to 'vehicle.c')
-rw-r--r-- | vehicle.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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; } |