mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-29 16:06:44 +00:00
Don't allow the use of the "jump" key while sneaking
This commit is contained in:
parent
41b2fa985b
commit
56cb36caf1
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ namespace MWInput
|
||||||
|
|
||||||
mPlayer.setSneak(actionIsActive(A_Sneak));
|
mPlayer.setSneak(actionIsActive(A_Sneak));
|
||||||
|
|
||||||
if (actionIsActive(A_Jump) && mControlSwitch["playerjumping"])
|
if (actionIsActive(A_Jump) && mControlSwitch["playerjumping"] && !actionIsActive(A_Sneak))
|
||||||
{
|
{
|
||||||
mPlayer.setUpDown (1);
|
mPlayer.setUpDown (1);
|
||||||
triedToMove = true;
|
triedToMove = true;
|
||||||
|
|
Loading…
Reference in a new issue