summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.h
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2020-12-16 21:28:25 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2020-12-16 21:28:25 +0100
commit12d16ddc063bc442c9366aff189f67827aeb09af (patch)
tree03f4872d235109bcdd66c660c57a3ec883192dc1 /src/peds/Ped.h
parentupdate librw with stencil states (diff)
downloadre3-12d16ddc063bc442c9366aff189f67827aeb09af.tar
re3-12d16ddc063bc442c9366aff189f67827aeb09af.tar.gz
re3-12d16ddc063bc442c9366aff189f67827aeb09af.tar.bz2
re3-12d16ddc063bc442c9366aff189f67827aeb09af.tar.lz
re3-12d16ddc063bc442c9366aff189f67827aeb09af.tar.xz
re3-12d16ddc063bc442c9366aff189f67827aeb09af.tar.zst
re3-12d16ddc063bc442c9366aff189f67827aeb09af.zip
Diffstat (limited to 'src/peds/Ped.h')
-rw-r--r--src/peds/Ped.h7
1 files changed, 7 insertions, 0 deletions
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;