diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-04-05 11:03:13 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-04-05 11:03:13 +0200 |
commit | 2aace31b06c65dd9e4b58280cc64eaa5cd58eaf4 (patch) | |
tree | 661507c1a29d128122a6c7125aa09f00f45c9b1c /src/vehicles/Vehicle.h | |
parent | Japanese (diff) | |
parent | Merge pull request #377 from Fire-Head/master (diff) | |
download | re3-2aace31b06c65dd9e4b58280cc64eaa5cd58eaf4.tar re3-2aace31b06c65dd9e4b58280cc64eaa5cd58eaf4.tar.gz re3-2aace31b06c65dd9e4b58280cc64eaa5cd58eaf4.tar.bz2 re3-2aace31b06c65dd9e4b58280cc64eaa5cd58eaf4.tar.lz re3-2aace31b06c65dd9e4b58280cc64eaa5cd58eaf4.tar.xz re3-2aace31b06c65dd9e4b58280cc64eaa5cd58eaf4.tar.zst re3-2aace31b06c65dd9e4b58280cc64eaa5cd58eaf4.zip |
Diffstat (limited to 'src/vehicles/Vehicle.h')
-rw-r--r-- | src/vehicles/Vehicle.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h index 2ca97841..4639f3e1 100644 --- a/src/vehicles/Vehicle.h +++ b/src/vehicles/Vehicle.h @@ -4,6 +4,7 @@ #include "AutoPilot.h" #include "ModelIndices.h" #include "AnimManager.h" +#include "Weapon.h" class CPed; class CFire; @@ -266,7 +267,7 @@ public: void ProcessCarAlarm(void); bool IsSphereTouchingVehicle(float sx, float sy, float sz, float radius); bool ShufflePassengersToMakeSpace(void); - void InflictDamage(CEntity *damagedBy, uint32 weaponType, float damage); + void InflictDamage(CEntity *damagedBy, eWeaponType weaponType, float damage); bool IsAlarmOn(void) { return m_nAlarmState != 0 && m_nAlarmState != -1; } CVehicleModelInfo* GetModelInfo() { return (CVehicleModelInfo*)CModelInfo::GetModelInfo(GetModelIndex()); } |