diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-06-07 11:46:15 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-06-07 11:46:15 +0200 |
commit | de4323f949accd42264b49e5352ee3522fd575c7 (patch) | |
tree | a6fe982655205cb2f7c585a85ba8c6015beb78d5 /src/entities/Physical.cpp | |
parent | New ped objectives (diff) | |
parent | making it close to original (diff) | |
download | re3-de4323f949accd42264b49e5352ee3522fd575c7.tar re3-de4323f949accd42264b49e5352ee3522fd575c7.tar.gz re3-de4323f949accd42264b49e5352ee3522fd575c7.tar.bz2 re3-de4323f949accd42264b49e5352ee3522fd575c7.tar.lz re3-de4323f949accd42264b49e5352ee3522fd575c7.tar.xz re3-de4323f949accd42264b49e5352ee3522fd575c7.tar.zst re3-de4323f949accd42264b49e5352ee3522fd575c7.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; |