Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4cd831a

Browse files
Synchronize changes from 1.6 master branch [ci skip]
8f85924 Fix jump control triggering weapon zoom while aiming (#2798) (#4454)
2 parents bf51098 + 8f85924 commit 4cd831a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Client/core/CKeyBinds.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1950,7 +1950,7 @@ void CKeyBinds::DoPostFramePulse()
19501950

19511951
// * Enter Exit
19521952
// * Change View
1953-
cs.ButtonSquare = (!bEnteringVehicle && g_bcControls[11].bState) ? 255 : 0; // Jump
1953+
cs.ButtonSquare = (!bEnteringVehicle && !bAimingWeapon && g_bcControls[11].bState) ? 255 : 0; // Jump
19541954
cs.ButtonCross = (g_bcControls[12].bState) ? 255 : 0; // Sprint
19551955
cs.ShockButtonR = (g_bcControls[13].bState) ? 255 : 0; // Look Behind
19561956
cs.ShockButtonL = (g_bcControls[14].bState) ? 255 : 0; // Crouch

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /