pool stuff fix
This commit is contained in:
1 parent
17a939e38d
commit
406f646949
10 files changed
+19
-19
No files matched your search
@@ -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