From 393f8c7a9b2470a2ef27ba80015f8200f7e7ab32 Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Thu, 4 Oct 2012 18:42:10 -0300 Subject: [PATCH] Fix glitch in battle when creatures walk --- src/otclient/creature.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/otclient/creature.cpp b/src/otclient/creature.cpp index ed81b547..11833023 100644 --- a/src/otclient/creature.cpp +++ b/src/otclient/creature.cpp @@ -685,14 +685,8 @@ int Creature::getExactSize(int layer, int xPattern, int yPattern, int zPattern, { int exactSize = 0; - animationPhase = m_walkAnimationPhase; - - if(m_direction == Otc::NorthEast || m_direction == Otc::SouthEast) - xPattern = Otc::East; - else if(m_direction == Otc::NorthWest || m_direction == Otc::SouthWest) - xPattern = Otc::West; - else - xPattern = m_direction; + animationPhase = 0; + xPattern = Otc::South; zPattern = 0; if(m_outfit.getMount() != 0)