mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Let's see if this helps #85 or not!
This commit is contained in:
parent
49e875e3a3
commit
539b686f85
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue