mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 09:34:19 +00:00
Changed comment.
This commit is contained in:
parent
2c48229370
commit
403114906a
|
@ -417,7 +417,8 @@ void CPlayers::RenderPlayer(
|
|||
}
|
||||
else
|
||||
{
|
||||
// fix wrong calculation of weapon Angle in demo player
|
||||
// If player move his weapon through top then change the end angle on 2*Pi.
|
||||
// So mix function will calculate offset angle by a short path, and not by long one.
|
||||
if (Player.m_Angle > (256.0f * pi) && Prev.m_Angle < 0)
|
||||
{
|
||||
Player.m_Angle -= 256.0f * 2 * pi;
|
||||
|
|
Loading…
Reference in a new issue