summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorblingu <36486731+blingu@users.noreply.github.com>2020-03-25 22:58:20 +0100
committerGitHub <noreply@github.com>2020-03-25 22:58:20 +0100
commitbe2aca47cfa84626ded8c140e5f8cf4af5f1a055 (patch)
treeecae8286e8de75db836ae54ebadff0b815e128ee /src
parentadded wrapper for InflictDamage() (diff)
downloadre3-be2aca47cfa84626ded8c140e5f8cf4af5f1a055.tar
re3-be2aca47cfa84626ded8c140e5f8cf4af5f1a055.tar.gz
re3-be2aca47cfa84626ded8c140e5f8cf4af5f1a055.tar.bz2
re3-be2aca47cfa84626ded8c140e5f8cf4af5f1a055.tar.lz
re3-be2aca47cfa84626ded8c140e5f8cf4af5f1a055.tar.xz
re3-be2aca47cfa84626ded8c140e5f8cf4af5f1a055.tar.zst
re3-be2aca47cfa84626ded8c140e5f8cf4af5f1a055.zip
Diffstat (limited to 'src')
-rw-r--r--src/vehicles/Vehicle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h
index bd8df694..68b7b2ca 100644
--- a/src/vehicles/Vehicle.h
+++ b/src/vehicles/Vehicle.h
@@ -266,6 +266,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);
bool IsAlarmOn(void) { return m_nAlarmState != 0 && m_nAlarmState != -1; }
CVehicleModelInfo* GetModelInfo() { return (CVehicleModelInfo*)CModelInfo::GetModelInfo(GetModelIndex()); }