summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-09-14 20:20:18 +0200
committerGitHub <noreply@github.com>2019-09-14 20:20:18 +0200
commite535f684ed06113f5dd08d615ae19e92d054f3ac (patch)
treee82c3293769fd12d24b07493d5a8d98794194e13 /src/vehicles/Vehicle.cpp
parentMerge pull request #206 from erorcun/erorcun (diff)
parentfix debug (diff)
downloadre3-e535f684ed06113f5dd08d615ae19e92d054f3ac.tar
re3-e535f684ed06113f5dd08d615ae19e92d054f3ac.tar.gz
re3-e535f684ed06113f5dd08d615ae19e92d054f3ac.tar.bz2
re3-e535f684ed06113f5dd08d615ae19e92d054f3ac.tar.lz
re3-e535f684ed06113f5dd08d615ae19e92d054f3ac.tar.xz
re3-e535f684ed06113f5dd08d615ae19e92d054f3ac.tar.zst
re3-e535f684ed06113f5dd08d615ae19e92d054f3ac.zip
Diffstat (limited to 'src/vehicles/Vehicle.cpp')
-rw-r--r--src/vehicles/Vehicle.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp
index 49f21c01..8abba646 100644
--- a/src/vehicles/Vehicle.cpp
+++ b/src/vehicles/Vehicle.cpp
@@ -78,7 +78,7 @@ CVehicle::CVehicle(uint8 CreatedBy)
m_veh_flagD1 = false;
m_veh_flagD2 = false;
m_nGunFiringTime = 0;
- field_214 = 0;
+ m_nTimeBlocked = 0;
bLightsOn = false;
bVehicleColProcessed = false;
m_numPedsUseItAsCover = 0;
@@ -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);