summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-06-06 12:31:09 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-06-06 12:31:09 +0200
commit3f26250d73d5c196a66262821a7980ccdbd8deed (patch)
tree6dde51e7159bee42448d95fca35edc8e0be92561 /src/peds/Ped.cpp
parentfixed linux saving (diff)
downloadre3-3f26250d73d5c196a66262821a7980ccdbd8deed.tar
re3-3f26250d73d5c196a66262821a7980ccdbd8deed.tar.gz
re3-3f26250d73d5c196a66262821a7980ccdbd8deed.tar.bz2
re3-3f26250d73d5c196a66262821a7980ccdbd8deed.tar.lz
re3-3f26250d73d5c196a66262821a7980ccdbd8deed.tar.xz
re3-3f26250d73d5c196a66262821a7980ccdbd8deed.tar.zst
re3-3f26250d73d5c196a66262821a7980ccdbd8deed.zip
Diffstat (limited to '')
-rw-r--r--src/peds/Ped.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index eebfa099..4e9280e6 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -187,6 +187,9 @@ CPed::CPed(uint32 pedType) : m_pedIK(this)
m_queuedSound = SOUND_NO_SOUND;
m_objective = OBJECTIVE_NONE;
m_prevObjective = OBJECTIVE_NONE;
+#ifdef FIX_BUGS
+ m_objectiveTimer = 0;
+#endif
CharCreatedBy = RANDOM_CHAR;
m_leader = nil;
m_pedInObjective = nil;