diff options
Diffstat (limited to '')
-rw-r--r-- | src/peds/Ped.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index 639a4b74..d7abcf0c 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -6413,7 +6413,7 @@ CPed::SetFollowPathStatic(void) m_nLastPedState = oldLastState; SetPedState(PED_FOLLOW_PATH); - m_nMoveState = m_followPathMoveState; + SetMoveState(m_followPathMoveState); } else { RestorePreviousState(); if (m_objective == OBJECTIVE_NONE) { @@ -6793,7 +6793,7 @@ CPed::SetFollowPathDynamic(void) m_nLastPedState = oldLastState; SetPedState(PED_FOLLOW_PATH); - m_nMoveState = m_followPathMoveState; + SetMoveState(m_followPathMoveState); return true; } else { |