1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 15:39:02 +00:00

Don't allow the use of the "jump" key while sneaking

This commit is contained in:
vorenon 2013-08-04 19:45:41 +02:00
parent 41b2fa985b
commit 56cb36caf1

View File

@ -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;