diff options
Diffstat (limited to 'src/control/Script5.cpp')
-rw-r--r-- | src/control/Script5.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
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); } |