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/vehicles | |
parent | 93a4bc31fa767df0460d1e66e97f30c863cdc1bf (diff) |
added InflictDamage() declaration
Diffstat (limited to 'src/vehicles')
-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()); } |