summaryrefslogtreecommitdiff
path: root/vehicle.c
diff options
context:
space:
mode:
Diffstat (limited to 'vehicle.c')
-rw-r--r--vehicle.c4
1 files changed, 1 insertions, 3 deletions
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;
}