From b0cd6bd92c02271d4d49aeb88f4034117d17bbc7 Mon Sep 17 00:00:00 2001 From: FruitieX Date: Sat, 2 Apr 2011 17:39:23 +0300 Subject: [PATCH] Show integer minutes (e.g. 20) instead of with one decimal place (20.0) --- qcsrc/client/scoreboard.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.2