From cddd1cb1e2d9dcbbf333e8aade5a89fde1bf7ce2 Mon Sep 17 00:00:00 2001 From: Mohab <133429578+MohabCodeX@users.noreply.github.com> Date: Thu, 11 Sep 2025 20:58:27 +0300 Subject: [PATCH] Fix ButtonSquare state to account for aiming weapon condition --- Client/core/CKeyBinds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/core/CKeyBinds.cpp b/Client/core/CKeyBinds.cpp index 365c68c8cd9..875d701792e 100644 --- a/Client/core/CKeyBinds.cpp +++ b/Client/core/CKeyBinds.cpp @@ -1950,7 +1950,7 @@ void CKeyBinds::DoPostFramePulse() // * Enter Exit // * Change View - cs.ButtonSquare = (!bEnteringVehicle && g_bcControls[11].bState) ? 255 : 0; // Jump + cs.ButtonSquare = (!bEnteringVehicle && !bAimingWeapon && g_bcControls[11].bState) ? 255 : 0; // Jump cs.ButtonCross = (g_bcControls[12].bState) ? 255 : 0; // Sprint cs.ShockButtonR = (g_bcControls[13].bState) ? 255 : 0; // Look Behind cs.ShockButtonL = (g_bcControls[14].bState) ? 255 : 0; // Crouch