From e8647a01c3cb694cd96bab3882c026de6420c2d2 Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Fri, 12 Oct 2012 21:24:18 +0200 Subject: [PATCH] fixed stepping algo again -.- --- src/map/MapState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/MapState.cpp b/src/map/MapState.cpp index 8dab40e..c1b3451 100644 --- a/src/map/MapState.cpp +++ b/src/map/MapState.cpp @@ -123,9 +123,9 @@ void MapState::OnTileLock() { if (afterLock) { bool blocked(CheckBlocking()); OnMove(!blocked); - afterLock = false; controlled->SetOrientation(Entity::Orientation(nextDirection)); if (!blocked) { + afterLock = false; controlled->SetSpeed(walkingSpeed); moveTimer.Clear(); if (pushed) { -- 2.39.2