diff options
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 5ac69905..f07b633c 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 9ec48850..7b5a1e11 100644 --- a/src/vehicles/Vehicle.h +++ b/src/vehicles/Vehicle.h @@ -201,6 +201,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 |