pool stuff fix

This commit is contained in:
Nikolay Korolev committed 2020-12-06 21:28:40 +03:00
1 parent 17a939e38d
commit 406f646949
10 files changed
+19 -19

No files matched your search

+1 -1
View File
@@ -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