diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-01 00:58:40 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-01 00:58:40 +0200 |
commit | 347f0a0e9c687a198ba7fd0ead67a2d63b7880f2 (patch) | |
tree | fbaa58157ecb3a29efe8634a14bb3a6ecd1da3c2 /src/vehicles/Vehicle.h | |
parent | review fixes (diff) | |
download | re3-347f0a0e9c687a198ba7fd0ead67a2d63b7880f2.tar re3-347f0a0e9c687a198ba7fd0ead67a2d63b7880f2.tar.gz re3-347f0a0e9c687a198ba7fd0ead67a2d63b7880f2.tar.bz2 re3-347f0a0e9c687a198ba7fd0ead67a2d63b7880f2.tar.lz re3-347f0a0e9c687a198ba7fd0ead67a2d63b7880f2.tar.xz re3-347f0a0e9c687a198ba7fd0ead67a2d63b7880f2.tar.zst re3-347f0a0e9c687a198ba7fd0ead67a2d63b7880f2.zip |
Diffstat (limited to '')
-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()); } |