diff options
Diffstat (limited to '')
-rw-r--r-- | src/peds/Ped.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/peds/Ped.h b/src/peds/Ped.h index c6c4fcee..2af6dccd 100644 --- a/src/peds/Ped.h +++ b/src/peds/Ped.h @@ -866,6 +866,7 @@ public: void PositionAttachedPed(); bool CanUseTorsoWhenLooking(); void ScanForDelayedResponseThreats(); + void SetWeaponLockOnTarget(CEntity*); // Static methods static CVector GetLocalPositionToOpenCarDoor(CVehicle *veh, uint32 component, float offset); @@ -1067,6 +1068,13 @@ public: else return (AnimationId)0; } + + static AnimationId GetMeleeStartAnim(CWeaponInfo* weapon) { + if (!!weapon->m_bPartialAttack) + return ANIM_MELEE_ATTACK_START; + else + return (AnimationId)0; + } // -- // My additions, because there were many, many instances of that. |