mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
Merge branch 'engarde' into 'master'
Only attempt attacks in an attack stance Closes #7242 See merge request OpenMW/openmw!2747
This commit is contained in:
commit
94c16f2570
@ -131,7 +131,7 @@ local function onInputAction(action)
|
||||
if action == input.ACTION.Jump then
|
||||
attemptJump = true
|
||||
elseif action == input.ACTION.Use then
|
||||
startAttack = true
|
||||
startAttack = Actor.stance(self) ~= Actor.STANCE.Nothing
|
||||
elseif action == input.ACTION.AutoMove and not movementControlsOverridden then
|
||||
autoMove = not autoMove
|
||||
elseif action == input.ACTION.AlwaysRun and not movementControlsOverridden then
|
||||
|
Loading…
Reference in New Issue
Block a user