mirror of
https://github.com/halpz/re3.git
synced 2025-07-20 15:59:48 +00:00
pool stuff fix
This commit is contained in:
@ -2492,7 +2492,7 @@ IsVehiclePointerValid(CVehicle* pVehicle)
|
||||
{
|
||||
if (!pVehicle)
|
||||
return false;
|
||||
int index = CPools::GetVehiclePool()->GetJustIndex(pVehicle);
|
||||
int index = CPools::GetVehiclePool()->GetJustIndex_NoFreeAssert(pVehicle);
|
||||
#ifdef FIX_BUGS
|
||||
if (index < 0 || index >= NUMVEHICLES)
|
||||
#else
|
||||
|
Reference in New Issue
Block a user