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) {