1
0
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:
Chris Robinson 2013-02-05 09:57:08 -08:00
parent d50832081c
commit 3251796ba0

View File

@ -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);