mirror of
https://github.com/GTAmodding/re3.git
synced 2021-02-19 17:49:54 +01:00
one more fix
This commit is contained in:
parent
c6c3ffa01c
commit
b62634ea64
@ -1919,7 +1919,7 @@ CPed::PlayFootSteps(void)
|
||||
bool
|
||||
CPed::IsPointerValid(void)
|
||||
{
|
||||
int8 pedIndex = CPools::GetPedPool()->GetIndex(this) >> 8;
|
||||
int pedIndex = CPools::GetPedPool()->GetIndex(this) >> 8;
|
||||
if (pedIndex < 0 || pedIndex >= NUMPEDS)
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user