From: FruitieX Date: Sat, 2 Apr 2011 14:39:23 +0000 (+0300) Subject: Show integer minutes (e.g. 20) instead of with one decimal place (20.0) X-Git-Tag: xonotic-v0.5.0~264^2~20^2^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b0cd6bd92c02271d4d49aeb88f4034117d17bbc7;p=xonotic%2Fxonotic-data.pk3dir.git Show integer minutes (e.g. 20) instead of with one decimal place (20.0) --- diff --git a/qcsrc/client/scoreboard.qc b/qcsrc/client/scoreboard.qc index 517065ac5..d5d5e599a 100644 --- a/qcsrc/client/scoreboard.qc +++ b/qcsrc/client/scoreboard.qc @@ -1252,12 +1252,12 @@ void HUD_DrawScoreboard() if(gametype == GAME_LMS) { if(tl > 0) - str = strcat(str, sprintf(_(" for up to ^1%.1f minutes^7"), tl)); + str = strcat(str, sprintf(_(" for up to ^1%1.0f minutes^7"), tl)); } else { if(tl > 0) - str = strcat(str, sprintf(_(" for up to ^1%.1f minutes^7"), tl)); + str = strcat(str, sprintf(_(" for up to ^1%1.0f minutes^7"), tl)); if(fl > 0) { if(tl > 0)