diff options
author | aap <aap@papnet.eu> | 2021-01-13 10:48:55 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-13 10:48:55 +0100 |
commit | fb1bd1a5bd3ed6de91e4e86dd0ff9ae22d55dff6 (patch) | |
tree | 54d74b4bd9d944e4146c4df3e17cb05f645607a7 /src/peds/PlayerPed.cpp | |
parent | 4837969e09944c660b495dd92c9243b9c46f9e84 (diff) |
fix !FREE_CAM build
Diffstat (limited to 'src/peds/PlayerPed.cpp')
-rw-r--r-- | src/peds/PlayerPed.cpp | 2 |
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(); |