diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-23 19:06:52 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-23 19:06:52 +0200 |
commit | 607175f02a3f89665c953d09c603183f909cc15b (patch) | |
tree | 92ccd56fd97daad6a97d8a348b2d6fc564370059 /src/vehicles | |
parent | fixed script (diff) | |
download | re3-607175f02a3f89665c953d09c603183f909cc15b.tar re3-607175f02a3f89665c953d09c603183f909cc15b.tar.gz re3-607175f02a3f89665c953d09c603183f909cc15b.tar.bz2 re3-607175f02a3f89665c953d09c603183f909cc15b.tar.lz re3-607175f02a3f89665c953d09c603183f909cc15b.tar.xz re3-607175f02a3f89665c953d09c603183f909cc15b.tar.zst re3-607175f02a3f89665c953d09c603183f909cc15b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/vehicles/Vehicle.cpp | 1 | ||||
-rw-r--r-- | src/vehicles/Vehicle.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp index 8d763300..21cf8ce0 100644 --- a/src/vehicles/Vehicle.cpp +++ b/src/vehicles/Vehicle.cpp @@ -110,6 +110,7 @@ CVehicle::CVehicle(uint8 CreatedBy) bTyresDontBurst = false; bCreatedAsPoliceVehicle = false; bParking = false; + m_nSetPieceExtendedRangeTime = 0; m_nAlarmState = 0; m_nDoorLock = CARLOCK_UNLOCKED; m_nLastWeaponDamage = -1; diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h index 8673de8f..b036c46b 100644 --- a/src/vehicles/Vehicle.h +++ b/src/vehicles/Vehicle.h @@ -205,6 +205,7 @@ public: float m_fChangeGearTime; CEntity* m_pBombRigger; uint32 m_nGunFiringTime; // last time when gun on vehicle was fired (used on boats) + uint32 m_nSetPieceExtendedRangeTime; uint32 m_nTimeOfDeath; uint16 m_nTimeBlocked; int16 m_nBombTimer; // goes down with each frame |