mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-11 09:48:15 +08:00
More fixes
This commit is contained in:
1 parent
ab3e258f19
commit
ac95138c18
4 files changed
+5
-80
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user