diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-13 10:38:05 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-13 10:38:05 +0200 |
commit | 81ea6f0258895e9087e0cb89cbd8bd30346974e2 (patch) | |
tree | 5cd55aa0bd44c45ff21d58692ff838cc7187a2e4 /src/peds/Ped.cpp | |
parent | Merge remote-tracking branch 'upstream/miami' into miami (diff) | |
download | re3-81ea6f0258895e9087e0cb89cbd8bd30346974e2.tar re3-81ea6f0258895e9087e0cb89cbd8bd30346974e2.tar.gz re3-81ea6f0258895e9087e0cb89cbd8bd30346974e2.tar.bz2 re3-81ea6f0258895e9087e0cb89cbd8bd30346974e2.tar.lz re3-81ea6f0258895e9087e0cb89cbd8bd30346974e2.tar.xz re3-81ea6f0258895e9087e0cb89cbd8bd30346974e2.tar.zst re3-81ea6f0258895e9087e0cb89cbd8bd30346974e2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/peds/Ped.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index 65bd168e..a73c4bba 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -459,6 +459,8 @@ CPed::CPed(uint32 pedType) : m_pedIK(this) m_vecOffsetSeek.x = 0.0f; m_vecOffsetSeek.y = 0.0f; m_vecOffsetSeek.z = 0.0f; + m_attractor = nil; + m_positionInQueue = -1; m_pedFormation = FORMATION_UNDEFINED; m_collidingThingTimer = 0; m_nPedStateTimer = 0; @@ -12658,8 +12660,8 @@ CPed::ProcessObjective(void) case OBJECTIVE_FOLLOW_CAR_IN_CAR: case OBJECTIVE_FIRE_AT_OBJ_FROM_VEHICLE: case OBJECTIVE_DESTROY_OBJ: - case OBJECTIVE_23: - case OBJECTIVE_24: + case OBJECTIVE_26: + case OBJECTIVE_27: case OBJECTIVE_SET_LEADER: break; case OBJECTIVE_IDLE: |