1
0
mirror of https://github.com/td512/re3.git synced 2026-03-02 12:46:04 +00:00

SetPedState fixes

This commit is contained in:
Sergeanur
2020-12-15 03:25:05 +02:00
parent 0f5893ed60
commit ab3e258f19
6 changed files with 10 additions and 10 deletions

View File

@@ -2125,7 +2125,7 @@ void CTheScripts::CleanUpThisPed(CPed* pPed)
if (pPed->m_nPedState == PED_FOLLOW_PATH && state != PED_FOLLOW_PATH)
pPed->ClearFollowPath();
pPed->m_nPedState = state;
pPed->SetPedState(state);
pPed->SetMoveState(ms);
}
--CPopulation::ms_nTotalMissionPeds;