mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 15:35:23 +00:00
Fix left/right movement
This commit is contained in:
parent
d50832081c
commit
3251796ba0
@ -271,12 +271,12 @@ namespace MWInput
|
||||
if (actionIsActive(A_MoveLeft))
|
||||
{
|
||||
mPlayer.setAutoMove (false);
|
||||
mPlayer.setLeftRight (1);
|
||||
mPlayer.setLeftRight (-1);
|
||||
}
|
||||
else if (actionIsActive(A_MoveRight))
|
||||
{
|
||||
mPlayer.setAutoMove (false);
|
||||
mPlayer.setLeftRight (-1);
|
||||
mPlayer.setLeftRight (1);
|
||||
}
|
||||
else
|
||||
mPlayer.setLeftRight (0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user