mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-11 20:20:33 +00:00
merge attempt
This commit is contained in:
commit
8d1996833b
68 changed files with 2149 additions and 316 deletions
|
@ -866,7 +866,6 @@ public:
|
|||
void PositionAttachedPed();
|
||||
bool CanUseTorsoWhenLooking();
|
||||
void ScanForDelayedResponseThreats();
|
||||
void SetWeaponLockOnTarget(CEntity*);
|
||||
|
||||
// Static methods
|
||||
static CVector GetLocalPositionToOpenCarDoor(CVehicle *veh, uint32 component, float offset);
|
||||
|
@ -1104,6 +1103,16 @@ public:
|
|||
}
|
||||
// --
|
||||
|
||||
inline void SetWeaponLockOnTarget(CEntity *target)
|
||||
{
|
||||
if (m_pPointGunAt)
|
||||
m_pPointGunAt->CleanUpOldReference(&m_pPointGunAt);
|
||||
|
||||
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