From 403114906a986640d1be844de2fa0adad3752060 Mon Sep 17 00:00:00 2001 From: user578 Date: Sun, 15 Nov 2015 02:44:40 +0300 Subject: [PATCH] Changed comment. --- src/game/client/components/players.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/game/client/components/players.cpp b/src/game/client/components/players.cpp index 750ec5496..bb38b829a 100644 --- a/src/game/client/components/players.cpp +++ b/src/game/client/components/players.cpp @@ -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;