Fix best time in scoreboard

This commit is contained in:
def 2014-01-10 22:53:18 +01:00
parent 38dbcbe776
commit 93a3fecea8

View file

@ -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;