From b62634ea64a6109231c1d8e452a765746458ff09 Mon Sep 17 00:00:00 2001 From: aap Date: Sat, 20 Jul 2019 14:48:29 +0200 Subject: [PATCH] one more fix --- src/peds/Ped.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index 80b4b5db..3554da84 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -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;