From 93a3fecea812b25fdd0f5c40df0bedf9bf4a7b3f Mon Sep 17 00:00:00 2001 From: def Date: Fri, 10 Jan 2014 22:53:18 +0100 Subject: [PATCH] Fix best time in scoreboard --- src/game/client/components/scoreboard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/client/components/scoreboard.cpp b/src/game/client/components/scoreboard.cpp index 32914f5dc..86c564183 100644 --- a/src/game/client/components/scoreboard.cpp +++ b/src/game/client/components/scoreboard.cpp @@ -230,7 +230,7 @@ void CScoreboard::RenderScoreboard(float x, float y, float w, int Team, const ch { if (m_ServerRecord > 0) { - str_format(aBuf, sizeof(aBuf), "%02d:%02d", round(m_ServerRecord)/60, round(m_ServerRecord)%60); + str_format(aBuf, sizeof(aBuf), "%02d:%02d", ((int) m_ServerRecord)/60, ((int) m_ServerRecord)%60); } else aBuf[0] = 0;