More fixes

This commit is contained in:
Sergeanur
2020-12-15 04:16:29 +02:00
parent ab3e258f19
commit ac95138c18
4 changed files with 5 additions and 80 deletions

View File

@ -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);
}