From: Daniel Karbach Date: Fri, 12 Oct 2012 19:24:18 +0000 (+0200) Subject: fixed stepping algo again -.- X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=e8647a01c3cb694cd96bab3882c026de6420c2d2;p=l2e.git fixed stepping algo again -.- --- 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) {