mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-12 07:00:34 +00:00
More fixes
This commit is contained in:
parent
ab3e258f19
commit
ac95138c18
4 changed files with 5 additions and 80 deletions
|
@ -974,7 +974,7 @@ public:
|
|||
PedState GetPedState(void) { return m_nPedState; }
|
||||
void SetPedState(PedState state)
|
||||
{
|
||||
if (GetPedState() == PED_FOLLOW_PATH)
|
||||
if (GetPedState() == PED_FOLLOW_PATH && state != PED_FOLLOW_PATH)
|
||||
ClearFollowPath();
|
||||
m_nPedState = state;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue