diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-12-15 03:25:12 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-12-15 03:25:12 +0100 |
commit | e970e5f2464cb782888264d0a07bae91c79afcf1 (patch) | |
tree | eba3c89b75d400afdd942672b02f2a18c9227cb9 /src/peds/Ped.cpp | |
parent | More fixes (diff) | |
download | re3-e970e5f2464cb782888264d0a07bae91c79afcf1.tar re3-e970e5f2464cb782888264d0a07bae91c79afcf1.tar.gz re3-e970e5f2464cb782888264d0a07bae91c79afcf1.tar.bz2 re3-e970e5f2464cb782888264d0a07bae91c79afcf1.tar.lz re3-e970e5f2464cb782888264d0a07bae91c79afcf1.tar.xz re3-e970e5f2464cb782888264d0a07bae91c79afcf1.tar.zst re3-e970e5f2464cb782888264d0a07bae91c79afcf1.zip |
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 { |