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/entities/Physical.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 '')
-rw-r--r-- | src/entities/Physical.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/entities/Physical.cpp b/src/entities/Physical.cpp index f76c3e29..e89b4858 100644 --- a/src/entities/Physical.cpp +++ b/src/entities/Physical.cpp @@ -21,6 +21,10 @@ CPhysical::CPhysical(void) { int i; +#ifdef FIX_BUGS + m_nLastTimeCollided = 0; +#endif + m_fForceMultiplier = 1.0f; m_vecMoveSpeed = CVector(0.0f, 0.0f, 0.0f); m_vecTurnSpeed = CVector(0.0f, 0.0f, 0.0f); |