Let's see if this helps #85 or not!

This commit is contained in:
GreYFoX 2011-12-26 15:31:05 +02:00
parent 49e875e3a3
commit 539b686f85

View file

@ -455,6 +455,14 @@ void CCharacterCore::Move()
m_Pos = NewPos;
return;
}
else if(D <= 0.001f && D >= -0.001f)
{
if(a > 0.0f)
m_Pos = LastPos;
else if(distance(NewPos, pCharCore->m_Pos) > D)
m_Pos = NewPos;
return;
}
}
LastPos = Pos;
}