summaryrefslogtreecommitdiff
path: root/src/peds
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-06-06 16:36:26 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2020-06-06 16:36:26 +0300
commite099aaaa6b7aa90a632d785c6f83a1fbb110cdd9 (patch)
treea91957b7694c340763d94f16ee5304a549373bb9 /src/peds
parent3f26250d73d5c196a66262821a7980ccdbd8deed (diff)
minor fixes
Diffstat (limited to 'src/peds')
-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 4e9280e6..254f89a6 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -243,6 +243,9 @@ CPed::CPed(uint32 pedType) : m_pedIK(this)
m_nPedState = PED_IDLE;
m_nLastPedState = PED_NONE;
m_nMoveState = PEDMOVE_STILL;
+#ifdef FIX_BUGS
+ m_nPrevMoveState = PEDMOVE_NONE;
+#endif
m_nStoredMoveState = PEDMOVE_NONE;
m_pFire = nil;
m_pPointGunAt = nil;