mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-12 14:14:13 +00:00
commit
ccbbde549e
16 changed files with 240 additions and 161 deletions
|
@ -825,7 +825,7 @@ IsObjectPointerValid(CObject *pObject)
|
|||
{
|
||||
if (!pObject)
|
||||
return false;
|
||||
int index = CPools::GetObjectPool()->GetJustIndex(pObject);
|
||||
int index = CPools::GetObjectPool()->GetJustIndex_NoFreeAssert(pObject);
|
||||
#ifdef FIX_BUGS
|
||||
if (index < 0 || index >= CPools::GetObjectPool()->GetSize())
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue