diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-06-06 15:36:26 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-06-06 15:36:26 +0200 |
commit | e099aaaa6b7aa90a632d785c6f83a1fbb110cdd9 (patch) | |
tree | a91957b7694c340763d94f16ee5304a549373bb9 /src/peds/Ped.cpp | |
parent | fixing some uninitialized stuff (diff) | |
download | re3-e099aaaa6b7aa90a632d785c6f83a1fbb110cdd9.tar re3-e099aaaa6b7aa90a632d785c6f83a1fbb110cdd9.tar.gz re3-e099aaaa6b7aa90a632d785c6f83a1fbb110cdd9.tar.bz2 re3-e099aaaa6b7aa90a632d785c6f83a1fbb110cdd9.tar.lz re3-e099aaaa6b7aa90a632d785c6f83a1fbb110cdd9.tar.xz re3-e099aaaa6b7aa90a632d785c6f83a1fbb110cdd9.tar.zst re3-e099aaaa6b7aa90a632d785c6f83a1fbb110cdd9.zip |
Diffstat (limited to 'src/peds/Ped.cpp')
-rw-r--r-- | src/peds/Ped.cpp | 3 |
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; |