Skip to content

Commit 07cc2a7

Browse files
committed
Merge branch 'automove' into 'master'
Don't disable automove when the player can't move (#8358) Closes #8358 See merge request OpenMW/openmw!4547
2 parents 5b788ba + cd53cbb commit 07cc2a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/data/scripts/omw/input/playercontrols.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ local function processMovement()
8989
local sideMovement = input.getRangeActionValue('MoveRight') - input.getRangeActionValue('MoveLeft')
9090
local run = input.getBooleanActionValue('Run') ~= settings:get('alwaysRun')
9191

92-
if movement ~= 0 or not Actor.canMove(self) then
92+
if movement ~= 0 then
9393
autoMove = false
9494
elseif autoMove then
9595
movement = 1

0 commit comments

Comments
 (0)