From 12d16ddc063bc442c9366aff189f67827aeb09af Mon Sep 17 00:00:00 2001 From: erorcun Date: Wed, 16 Dec 2020 23:28:25 +0300 Subject: Fixes and style changes --- src/peds/Ped.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/peds/Ped.h') diff --git a/src/peds/Ped.h b/src/peds/Ped.h index c2f417c4..92cb8eff 100644 --- a/src/peds/Ped.h +++ b/src/peds/Ped.h @@ -1009,6 +1009,13 @@ public: return GetPrimaryFireAnim(weapon); } + static AnimationId Get3rdFireAnim(CWeaponInfo* weapon) { + if (!!weapon->m_bCop3rd) + return ANIM_WEAPON_FIRE_3RD; + else + return (AnimationId)0; + } + static AnimationId GetFireAnimGround(CWeaponInfo* weapon, bool kickFloorIfNone = true) { if (!!weapon->m_bGround2nd) return ANIM_WEAPON_CROUCHFIRE; -- cgit v1.2.3