mirror of
https://github.com/halpz/re3.git
synced 2025-07-26 07:02:44 +00:00
pool stuff fix
This commit is contained in:
@ -527,7 +527,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