15.09.2017, 14:48
MAX_VEHICLES is 2000 by default.
You got that array index out of bounds because you are accessing array index of VehicleInfo which doesn't exists (>= 1000). A simple fix is by declaring VehicleInfo with MAX_VEHICLES as its size or use iterator.
You got that array index out of bounds because you are accessing array index of VehicleInfo which doesn't exists (>= 1000). A simple fix is by declaring VehicleInfo with MAX_VEHICLES as its size or use iterator.