diff options
author | blingu <36486731+blingu@users.noreply.github.com> | 2020-03-25 22:58:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-25 22:58:20 +0100 |
commit | be2aca47cfa84626ded8c140e5f8cf4af5f1a055 (patch) | |
tree | ecae8286e8de75db836ae54ebadff0b815e128ee /src | |
parent | added wrapper for InflictDamage() (diff) | |
download | re3-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 '')
-rw-r--r-- | src/vehicles/Vehicle.h | 1 |
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()); } |