From ac95138c1800140b8c0ca52536d15f77786f0aed Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Tue, 15 Dec 2020 04:16:29 +0200 Subject: More fixes --- src/control/Script5.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/control') diff --git a/src/control/Script5.cpp b/src/control/Script5.cpp index 3fa416f8..62dc33ad 100644 --- a/src/control/Script5.cpp +++ b/src/control/Script5.cpp @@ -2122,9 +2122,6 @@ void CTheScripts::CleanUpThisPed(CPed* pPed) if (pPed->IsPedInControl()) pPed->SetWanderPath(CGeneral::GetRandomNumber() & 7); if (flees) { - if (pPed->m_nPedState == PED_FOLLOW_PATH && state != PED_FOLLOW_PATH) - pPed->ClearFollowPath(); - pPed->SetPedState(state); pPed->SetMoveState(ms); } -- cgit v1.2.3