mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
forgot speeders without max speed
This commit is contained in:
parent
47baea0e62
commit
7f26212ce2
|
@ -991,6 +991,9 @@ void CCharacter::HandleTiles(int Index)
|
||||||
else
|
else
|
||||||
TempVel += Direction * SpeedLeft;
|
TempVel += Direction * SpeedLeft;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
TempVel += Direction * Force;
|
||||||
|
|
||||||
|
|
||||||
m_Core.m_Vel = TempVel;
|
m_Core.m_Vel = TempVel;
|
||||||
//dbg_msg("speedup tile end","(Direction*Force) %f %f m_Core.m_Vel%f %f",(Direction*Force).x,(Direction*Force).y,m_Core.m_Vel.x,m_Core.m_Vel.y);
|
//dbg_msg("speedup tile end","(Direction*Force) %f %f m_Core.m_Vel%f %f",(Direction*Force).x,(Direction*Force).y,m_Core.m_Vel.x,m_Core.m_Vel.y);
|
||||||
|
|
Loading…
Reference in a new issue