Merge pull request #869 from Nick007J/miami

garages revision + fixes
This commit is contained in:
aap
2020-12-09 09:55:50 +01:00
committed by GitHub
16 changed files with 240 additions and 161 deletions

View File

@ -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