mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-15 20:54:08 +00:00
Weapon flags changed from bit fields to bit mask (R* vision)
This commit is contained in:
parent
612470cb3f
commit
d459ef8820
7 changed files with 43 additions and 53 deletions
|
@ -1046,7 +1046,7 @@ CPed::SetAimFlag(float angle)
|
|||
m_lookTimer = 0;
|
||||
m_pLookTarget = nil;
|
||||
m_pSeekTarget = nil;
|
||||
if (CWeaponInfo::GetWeaponInfo(GetWeapon()->m_eWeaponType)->m_bCanAimWithArm)
|
||||
if (CWeaponInfo::GetWeaponInfo(GetWeapon()->m_eWeaponType)->IsFlagSet(WEAPONFLAG_CANAIM_WITHARM))
|
||||
m_pedIK.m_flags |= CPedIK::AIMS_WITH_ARM;
|
||||
else
|
||||
m_pedIK.m_flags &= ~CPedIK::AIMS_WITH_ARM;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue