We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3532acd commit debf856Copy full SHA for debf856
Client/multiplayer_sa/multiplayer_keysync.cpp
@@ -314,7 +314,7 @@ void SwitchContext(CPed* thePed)
314
315
// Disable mouse look if they are not in a fight task and not aiming (strafing)
316
// Fix GitHub Issue #395
317
- if (thePed->GetCurrentWeaponSlot() == eWeaponSlot::WEAPONSLOT_TYPE_UNARMED && thePed->GetPedIntelligence()->GetFightTask() && data->m_pad.NewState.RightShoulder1 != 0)
+ if (thePed->GetCurrentWeaponSlot() == eWeaponSlot::WEAPONSLOT_TYPE_UNARMED && data->m_pad.NewState.RightShoulder1 != 0 && thePed->GetPedIntelligence()->GetFightTask())
318
bDisableMouseLook = false;
319
320
// Disable mouse look if they're underwater (Ped vertical rotation when diving)
0 commit comments