diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-09-14 19:54:56 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-09-14 19:54:56 +0200 |
commit | 84186e7b0f15cba33243eab6f15516d3a450b839 (patch) | |
tree | a8dfa4f8ceb65436ab80c1f7ab5aa24f7798dd3c /src/vehicles/Vehicle.cpp | |
parent | Merge pull request #206 from erorcun/erorcun (diff) | |
parent | more CCarCtrl (diff) | |
download | re3-84186e7b0f15cba33243eab6f15516d3a450b839.tar re3-84186e7b0f15cba33243eab6f15516d3a450b839.tar.gz re3-84186e7b0f15cba33243eab6f15516d3a450b839.tar.bz2 re3-84186e7b0f15cba33243eab6f15516d3a450b839.tar.lz re3-84186e7b0f15cba33243eab6f15516d3a450b839.tar.xz re3-84186e7b0f15cba33243eab6f15516d3a450b839.tar.zst re3-84186e7b0f15cba33243eab6f15516d3a450b839.zip |
Diffstat (limited to '')
-rw-r--r-- | src/vehicles/Vehicle.cpp | 5 |
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); |