mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-07 08:09:58 +00:00
CPed::SetWeaponLockOnTarget
This commit is contained in:
parent
c0652b8203
commit
f42a01f653
5 changed files with 20 additions and 32 deletions
|
@ -863,6 +863,13 @@ public:
|
|||
SetMoveState(PEDMOVE_WALK);
|
||||
}
|
||||
|
||||
inline void SetWeaponLockOnTarget(CEntity *target)
|
||||
{
|
||||
m_pPointGunAt = (CPed *)target;
|
||||
if(target)
|
||||
((CEntity *)target)->RegisterReference(&m_pPointGunAt);
|
||||
}
|
||||
|
||||
// Using this to abstract nodes of skinned and non-skinned meshes
|
||||
CVector GetNodePosition(int32 node)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue