Fix movement with hold mouse button and stand animation

This commit is contained in:
obligaron 2021-05-17 19:51:47 +02:00 committed by Anders Jenbo
commit 1c77a22735

View file

@ -28,7 +28,7 @@ void track_process()
const auto &player = plr[myplr];
if (player.AnimInfo.GetFrameToUseForRendering() <= 6 || (!player.IsWalking() && player._pmode != PM_STAND))
if (player._pmode != PM_STAND && !(player.IsWalking() && player.AnimInfo.GetFrameToUseForRendering() > 6))
return;
const Point target = player.GetTargetPosition();