mirror of
https://gitlab.com/skmp/dca3-game.git
synced 2025-09-01 10:42:34 +02:00
one more fix
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user