fix stop walk

This commit is contained in:
Eduardo Bart 2012-01-20 14:48:26 -02:00
parent a5b4ee2c19
commit 820f94a1d9
1 changed files with 2 additions and 2 deletions

View File

@ -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();