diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-06-07 03:16:10 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-06-07 03:16:10 +0200 |
commit | 24bf4c2cbae67be4a0ac5f674f3fb5645e92516b (patch) | |
tree | 392d6754b618a6be48c391d86601da905299be89 /src/entities/Physical.cpp | |
parent | a bit of fonts (diff) | |
parent | Merge branch 'master' into miami (diff) | |
download | re3-24bf4c2cbae67be4a0ac5f674f3fb5645e92516b.tar re3-24bf4c2cbae67be4a0ac5f674f3fb5645e92516b.tar.gz re3-24bf4c2cbae67be4a0ac5f674f3fb5645e92516b.tar.bz2 re3-24bf4c2cbae67be4a0ac5f674f3fb5645e92516b.tar.lz re3-24bf4c2cbae67be4a0ac5f674f3fb5645e92516b.tar.xz re3-24bf4c2cbae67be4a0ac5f674f3fb5645e92516b.tar.zst re3-24bf4c2cbae67be4a0ac5f674f3fb5645e92516b.zip |
Diffstat (limited to 'src/entities/Physical.cpp')
-rw-r--r-- | src/entities/Physical.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/entities/Physical.cpp b/src/entities/Physical.cpp index 332d3d81..090eae6b 100644 --- a/src/entities/Physical.cpp +++ b/src/entities/Physical.cpp @@ -27,6 +27,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); @@ -68,6 +72,9 @@ CPhysical::CPhysical(void) m_phy_flagA20 = false; +#ifdef FIX_BUGS + m_nSurfaceTouched = SURFACE_DEFAULT; +#endif m_nZoneLevel = LEVEL_NONE; bIsFrozen = false; |