mirror of https://github.com/Nofated095/re-GTA.git
fix !FREE_CAM build
This commit is contained in:
parent
4837969e09
commit
fb1bd1a5bd
|
@ -1136,7 +1136,7 @@ CPlayerPed::ProcessPlayerWeapon(CPad *padUsed)
|
||||||
#ifdef FREE_CAM
|
#ifdef FREE_CAM
|
||||||
else if ((CCamera::bFreeCam && weaponInfo->m_eWeaponFire == WEAPON_FIRE_MELEE) || (weaponInfo->IsFlagSet(WEAPONFLAG_CANAIM) && !CCamera::m_bUseMouse3rdPerson)) {
|
else if ((CCamera::bFreeCam && weaponInfo->m_eWeaponFire == WEAPON_FIRE_MELEE) || (weaponInfo->IsFlagSet(WEAPONFLAG_CANAIM) && !CCamera::m_bUseMouse3rdPerson)) {
|
||||||
#else
|
#else
|
||||||
else if (weaponInfo->m_bCanAim && !CCamera::m_bUseMouse3rdPerson) {
|
else if (weaponInfo->IsFlagSet(WEAPONFLAG_CANAIM) && !CCamera::m_bUseMouse3rdPerson) {
|
||||||
#endif
|
#endif
|
||||||
if (padUsed->TargetJustDown())
|
if (padUsed->TargetJustDown())
|
||||||
FindWeaponLockOnTarget();
|
FindWeaponLockOnTarget();
|
||||||
|
|
Loading…
Reference in New Issue