mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-15 18:24:07 +00:00
pool stuff fix
This commit is contained in:
parent
17a939e38d
commit
406f646949
10 changed files with 19 additions and 19 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue