mirror of
https://github.com/halpz/re3.git
synced 2025-07-03 20:50:44 +00:00
Merge branch 'master' into miami
# Conflicts: # src/control/Darkel.cpp # src/core/main.cpp
This commit is contained in:
@ -11810,7 +11810,11 @@ CPed::ProcessControl(void)
|
||||
CPed::Chat();
|
||||
break;
|
||||
case PED_AIM_GUN:
|
||||
if (m_pPointGunAt && m_pPointGunAt->IsPed() && ((CPed*)m_pPointGunAt)->CanSeeEntity(this, CAN_SEE_ENTITY_ANGLE_THRESHOLD * 2)) {
|
||||
if (m_pPointGunAt && m_pPointGunAt->IsPed()
|
||||
#ifdef FIX_BUGS
|
||||
&& !GetWeapon()->IsTypeMelee()
|
||||
#endif
|
||||
&& ((CPed*)m_pPointGunAt)->CanSeeEntity(this, CAN_SEE_ENTITY_ANGLE_THRESHOLD * 2)) {
|
||||
((CPed*)m_pPointGunAt)->ReactToPointGun(this);
|
||||
}
|
||||
PointGunAt();
|
||||
|
Reference in New Issue
Block a user