Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
fix !FREE_CAM build
  • Loading branch information
aap committed Jan 13, 2021
1 parent 4837969 commit fb1bd1a5bd3ed6de91e4e86dd0ff9ae22d55dff6
Showing with 1 addition and 1 deletion.
  1. +1 −1 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();

0 comments on commit fb1bd1a

Please sign in to comment.