pool stuff fix

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

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