From 56cb36caf1d8f3237a7c9e00e001c52ad3c8a043 Mon Sep 17 00:00:00 2001 From: vorenon Date: Sun, 4 Aug 2013 19:45:41 +0200 Subject: [PATCH] Don't allow the use of the "jump" key while sneaking --- apps/openmw/mwinput/inputmanagerimp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwinput/inputmanagerimp.cpp b/apps/openmw/mwinput/inputmanagerimp.cpp index 02b8520ab0..88b286481c 100644 --- a/apps/openmw/mwinput/inputmanagerimp.cpp +++ b/apps/openmw/mwinput/inputmanagerimp.cpp @@ -357,7 +357,7 @@ namespace MWInput mPlayer.setSneak(actionIsActive(A_Sneak)); - if (actionIsActive(A_Jump) && mControlSwitch["playerjumping"]) + if (actionIsActive(A_Jump) && mControlSwitch["playerjumping"] && !actionIsActive(A_Sneak)) { mPlayer.setUpDown (1); triedToMove = true;