mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 21:39:41 +00:00
Don't disable automove when the player can't move (#8358)
This commit is contained in:
parent
5b788baa35
commit
cd53cbbea2
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ local function processMovement()
|
|||
local sideMovement = input.getRangeActionValue('MoveRight') - input.getRangeActionValue('MoveLeft')
|
||||
local run = input.getBooleanActionValue('Run') ~= settings:get('alwaysRun')
|
||||
|
||||
if movement ~= 0 or not Actor.canMove(self) then
|
||||
if movement ~= 0 then
|
||||
autoMove = false
|
||||
elseif autoMove then
|
||||
movement = 1
|
||||
|
|
Loading…
Reference in a new issue