Fix glitch in battle when creatures walk
This commit is contained in:
parent
d1812ae695
commit
393f8c7a9b
|
@ -685,14 +685,8 @@ int Creature::getExactSize(int layer, int xPattern, int yPattern, int zPattern,
|
||||||
{
|
{
|
||||||
int exactSize = 0;
|
int exactSize = 0;
|
||||||
|
|
||||||
animationPhase = m_walkAnimationPhase;
|
animationPhase = 0;
|
||||||
|
xPattern = Otc::South;
|
||||||
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;
|
|
||||||
|
|
||||||
zPattern = 0;
|
zPattern = 0;
|
||||||
if(m_outfit.getMount() != 0)
|
if(m_outfit.getMount() != 0)
|
||||||
|
|
Loading…
Reference in New Issue