Closed schroedtert closed 2 years ago
Source of the error: When we accessed the velocity vector we used the ped ID as index, however if the IDs were non continuous, we accessed memory outside of the vector. Using at(i) instead of [i] lead directly to crashes.
at(i)
[i]
Source of the error: When we accessed the velocity vector we used the ped ID as index, however if the IDs were non continuous, we accessed memory outside of the vector. Using
at(i)
instead of[i]
lead directly to crashes.