summaryrefslogtreecommitdiffstats
path: root/src/entities
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-06-06 15:36:26 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-06-06 15:36:26 +0200
commite099aaaa6b7aa90a632d785c6f83a1fbb110cdd9 (patch)
treea91957b7694c340763d94f16ee5304a549373bb9 /src/entities
parentfixing some uninitialized stuff (diff)
downloadre3-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/entities')
-rw-r--r--src/entities/Physical.cpp4
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);