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