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

@ -7846,7 +7846,7 @@ IsPedPointerValid_NotInWorld(CPed* pPed)
{
if (!pPed)
return false;
int index = CPools::GetPedPool()->GetJustIndex(pPed);
int index = CPools::GetPedPool()->GetJustIndex_NoFreeAssert(pPed);
#ifdef FIX_BUGS
if (index < 0 || index >= NUMPEDS)
#else