diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-12-06 19:28:40 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-12-06 19:28:40 +0100 |
commit | 406f64694990ca84622205538a72e080499b4464 (patch) | |
tree | e54e7a35d7ed03b49e52430286c317ae0e88983f /src/peds | |
parent | quick fix (diff) | |
download | re3-406f64694990ca84622205538a72e080499b4464.tar re3-406f64694990ca84622205538a72e080499b4464.tar.gz re3-406f64694990ca84622205538a72e080499b4464.tar.bz2 re3-406f64694990ca84622205538a72e080499b4464.tar.lz re3-406f64694990ca84622205538a72e080499b4464.tar.xz re3-406f64694990ca84622205538a72e080499b4464.tar.zst re3-406f64694990ca84622205538a72e080499b4464.zip |
Diffstat (limited to 'src/peds')
-rw-r--r-- | src/peds/Ped.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index b7623a33..c9a8ede7 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -7846,7 +7846,7 @@ IsPedPointerValid_NotInWorld(CPed* pPed) { if (!pPed) return false; - int index = CPools::GetPedPool()->GetJustIndex(pPed); + int index = CPools::GetPedPool()->GetJustIndex_NoFreeAssert(pPed); #ifdef FIX_BUGS if (index < 0 || index >= NUMPEDS) #else |