summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.h
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-03-26 17:30:34 +0100
committerGitHub <noreply@github.com>2020-03-26 17:30:34 +0100
commit9e49e5c2bd4526355410d647e353067fcfdcaf2d (patch)
tree20e3c4233daef1d125464223cb0ed7ab23427e53 /src/vehicles/Vehicle.h
parentMerge pull request #355 from erorcun/erorcun (diff)
parentUpdate Fire.cpp (diff)
downloadre3-9e49e5c2bd4526355410d647e353067fcfdcaf2d.tar
re3-9e49e5c2bd4526355410d647e353067fcfdcaf2d.tar.gz
re3-9e49e5c2bd4526355410d647e353067fcfdcaf2d.tar.bz2
re3-9e49e5c2bd4526355410d647e353067fcfdcaf2d.tar.lz
re3-9e49e5c2bd4526355410d647e353067fcfdcaf2d.tar.xz
re3-9e49e5c2bd4526355410d647e353067fcfdcaf2d.tar.zst
re3-9e49e5c2bd4526355410d647e353067fcfdcaf2d.zip
Diffstat (limited to '')
-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()); }