From 88ef277dc3678610bf2b47437dcbcc00f6fbe333 Mon Sep 17 00:00:00 2001 From: truelight Date: Thu, 24 Mar 2005 13:59:44 +0000 Subject: (svn r2041) -Fix: not all vehicles did get a day_proc call (because of rounding errors) --- vehicle.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'vehicle.c') diff --git a/vehicle.c b/vehicle.c index 3aaea4497..56ed63be7 100644 --- a/vehicle.c +++ b/vehicle.c @@ -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; } -- cgit v1.2.3-54-g00ecf