From 820f94a1d9469c1f80b78c5e46fd5bcad232fe2d Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Fri, 20 Jan 2012 14:48:26 -0200 Subject: [PATCH] fix stop walk --- src/otclient/core/creature.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/otclient/core/creature.cpp b/src/otclient/core/creature.cpp index d6fa5d4a..cf45df24 100644 --- a/src/otclient/core/creature.cpp +++ b/src/otclient/core/creature.cpp @@ -235,8 +235,8 @@ void Creature::stopWalk() return; // reset walk animation states - updateWalkAnimation(0); - updateWalkOffset(0); + m_walkOffset = Point(0,0); + m_animation = 0; // stops the walk right away terminateWalk();