summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-13 10:48:55 +0100
committeraap <aap@papnet.eu>2021-01-13 10:48:55 +0100
commitfb1bd1a5bd3ed6de91e4e86dd0ff9ae22d55dff6 (patch)
tree54d74b4bd9d944e4146c4df3e17cb05f645607a7
parentUpdate README.md (diff)
downloadre3-fb1bd1a5bd3ed6de91e4e86dd0ff9ae22d55dff6.tar
re3-fb1bd1a5bd3ed6de91e4e86dd0ff9ae22d55dff6.tar.gz
re3-fb1bd1a5bd3ed6de91e4e86dd0ff9ae22d55dff6.tar.bz2
re3-fb1bd1a5bd3ed6de91e4e86dd0ff9ae22d55dff6.tar.lz
re3-fb1bd1a5bd3ed6de91e4e86dd0ff9ae22d55dff6.tar.xz
re3-fb1bd1a5bd3ed6de91e4e86dd0ff9ae22d55dff6.tar.zst
re3-fb1bd1a5bd3ed6de91e4e86dd0ff9ae22d55dff6.zip
-rw-r--r--src/peds/PlayerPed.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/PlayerPed.cpp b/src/peds/PlayerPed.cpp
index b104f14c..a8e2e972 100644
--- a/src/peds/PlayerPed.cpp
+++ b/src/peds/PlayerPed.cpp
@@ -1136,7 +1136,7 @@ CPlayerPed::ProcessPlayerWeapon(CPad *padUsed)
#ifdef FREE_CAM
else if ((CCamera::bFreeCam && weaponInfo->m_eWeaponFire == WEAPON_FIRE_MELEE) || (weaponInfo->IsFlagSet(WEAPONFLAG_CANAIM) && !CCamera::m_bUseMouse3rdPerson)) {
#else
- else if (weaponInfo->m_bCanAim && !CCamera::m_bUseMouse3rdPerson) {
+ else if (weaponInfo->IsFlagSet(WEAPONFLAG_CANAIM) && !CCamera::m_bUseMouse3rdPerson) {
#endif
if (padUsed->TargetJustDown())
FindWeaponLockOnTarget();