mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-05 22:49:42 +00:00
Only attempt attacks in an attack stance
This commit is contained in:
parent
a43b6fba4b
commit
2b56ab327c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue