summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-12-26 13:21:45 +0100
committerSergeanur <s.anureev@yandex.ua>2020-12-26 13:21:45 +0100
commitd459ef882082f41a94b9ae9c298d361b15374cfd (patch)
tree1fd023b4e241800eb9f60b9b9c38e1c0933a5b69 /src/peds/Ped.cpp
parentunfix particle bug (diff)
downloadre3-d459ef882082f41a94b9ae9c298d361b15374cfd.tar
re3-d459ef882082f41a94b9ae9c298d361b15374cfd.tar.gz
re3-d459ef882082f41a94b9ae9c298d361b15374cfd.tar.bz2
re3-d459ef882082f41a94b9ae9c298d361b15374cfd.tar.lz
re3-d459ef882082f41a94b9ae9c298d361b15374cfd.tar.xz
re3-d459ef882082f41a94b9ae9c298d361b15374cfd.tar.zst
re3-d459ef882082f41a94b9ae9c298d361b15374cfd.zip
Diffstat (limited to '')
-rw-r--r--src/peds/Ped.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index b8b3e92c..3d2278bd 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -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;