mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-27 11:34:14 +01:00
Use SetMoveState
This commit is contained in:
parent
ac95138c18
commit
e970e5f246
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user