fix bug 574

This commit is contained in:
Michal Sciubidlo 2013-02-28 19:52:32 +01:00
parent 88e8659a49
commit 3df34fb5cc

View file

@ -274,13 +274,11 @@ namespace MWInput
if (actionIsActive(A_MoveLeft)) if (actionIsActive(A_MoveLeft))
{ {
triedToMove = true; triedToMove = true;
mPlayer.setAutoMove (false);
mPlayer.setLeftRight (-1); mPlayer.setLeftRight (-1);
} }
else if (actionIsActive(A_MoveRight)) else if (actionIsActive(A_MoveRight))
{ {
triedToMove = true; triedToMove = true;
mPlayer.setAutoMove (false);
mPlayer.setLeftRight (1); mPlayer.setLeftRight (1);
} }
else else