summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-05 11:03:13 +0200
committerSergeanur <s.anureev@yandex.ua>2020-04-05 11:03:13 +0200
commit2aace31b06c65dd9e4b58280cc64eaa5cd58eaf4 (patch)
tree661507c1a29d128122a6c7125aa09f00f45c9b1c /src/vehicles/Vehicle.h
parentJapanese (diff)
parentMerge pull request #377 from Fire-Head/master (diff)
downloadre3-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.h3
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()); }