1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 17:10:01 +00:00

one more fix

This commit is contained in:
aap 2019-07-20 14:48:29 +02:00
parent c6c3ffa01c
commit b62634ea64

View file

@ -1919,7 +1919,7 @@ CPed::PlayFootSteps(void)
bool bool
CPed::IsPointerValid(void) CPed::IsPointerValid(void)
{ {
int8 pedIndex = CPools::GetPedPool()->GetIndex(this) >> 8; int pedIndex = CPools::GetPedPool()->GetIndex(this) >> 8;
if (pedIndex < 0 || pedIndex >= NUMPEDS) if (pedIndex < 0 || pedIndex >= NUMPEDS)
return false; return false;