mirror of
https://github.com/td512/re3.git
synced 2026-03-05 01:24:51 +00:00
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user