mirror of
https://github.com/GTAmodding/re3.git
synced 2025-09-01 01:42:24 +02:00
Use SetMoveState
This commit is contained in:
@@ -6413,7 +6413,7 @@ CPed::SetFollowPathStatic(void)
|
|||||||
m_nLastPedState = oldLastState;
|
m_nLastPedState = oldLastState;
|
||||||
|
|
||||||
SetPedState(PED_FOLLOW_PATH);
|
SetPedState(PED_FOLLOW_PATH);
|
||||||
m_nMoveState = m_followPathMoveState;
|
SetMoveState(m_followPathMoveState);
|
||||||
} else {
|
} else {
|
||||||
RestorePreviousState();
|
RestorePreviousState();
|
||||||
if (m_objective == OBJECTIVE_NONE) {
|
if (m_objective == OBJECTIVE_NONE) {
|
||||||
@@ -6793,7 +6793,7 @@ CPed::SetFollowPathDynamic(void)
|
|||||||
m_nLastPedState = oldLastState;
|
m_nLastPedState = oldLastState;
|
||||||
|
|
||||||
SetPedState(PED_FOLLOW_PATH);
|
SetPedState(PED_FOLLOW_PATH);
|
||||||
m_nMoveState = m_followPathMoveState;
|
SetMoveState(m_followPathMoveState);
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user