summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-09-12 12:11:13 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-09-12 12:11:13 +0200
commita3aea359b252feb83684b4b19e5fe58a5dc4e2aa (patch)
tree3ebd5b2456abbd7834ed758b7b1edb0bcafac0e1 /src/vehicles/Vehicle.cpp
parentmake ATTEMPTS_TO_FIND_NEXT_NODE a define (diff)
downloadre3-a3aea359b252feb83684b4b19e5fe58a5dc4e2aa.tar
re3-a3aea359b252feb83684b4b19e5fe58a5dc4e2aa.tar.gz
re3-a3aea359b252feb83684b4b19e5fe58a5dc4e2aa.tar.bz2
re3-a3aea359b252feb83684b4b19e5fe58a5dc4e2aa.tar.lz
re3-a3aea359b252feb83684b4b19e5fe58a5dc4e2aa.tar.xz
re3-a3aea359b252feb83684b4b19e5fe58a5dc4e2aa.tar.zst
re3-a3aea359b252feb83684b4b19e5fe58a5dc4e2aa.zip
Diffstat (limited to 'src/vehicles/Vehicle.cpp')
-rw-r--r--src/vehicles/Vehicle.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp
index 49f21c01..8d22606a 100644
--- a/src/vehicles/Vehicle.cpp
+++ b/src/vehicles/Vehicle.cpp
@@ -90,8 +90,7 @@ CVehicle::CVehicle(uint8 CreatedBy)
m_nAlarmState = 0;
m_nDoorLock = CARLOCK_UNLOCKED;
m_nLastWeaponDamage = -1;
- field_220 = 0.0;
- field_21C = field_220;
+ m_fMapObjectHeightAhead = m_fMapObjectHeightBehind = 0.0f;
m_audioEntityId = DMAudio.CreateEntity(AUDIOTYPE_PHYSICAL, this);
if(m_audioEntityId)
DMAudio.SetEntityStatus(m_audioEntityId, true);