mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
parent
4626106739
commit
22d9f3f146
|
@ -604,7 +604,7 @@ void CCharacterCore::Move()
|
|||
vec2 OldVel = m_Vel;
|
||||
m_pCollision->MoveBox(&NewPos, &m_Vel, vec2(28.0f, 28.0f), 0);
|
||||
|
||||
if(OldVel.x != m_Vel.x && m_Vel.x < 0.001 && m_Vel.x > -0.001)
|
||||
if(m_Vel.x < 0.001 && m_Vel.x > -0.001)
|
||||
{
|
||||
if(OldVel.x > 0)
|
||||
m_Colliding = 1;
|
||||
|
|
Loading…
Reference in a new issue