]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Show integer minutes (e.g. 20) instead of with one decimal place (20.0)
authorFruitieX <fruitiex@gmail.com>
Sat, 2 Apr 2011 14:39:23 +0000 (17:39 +0300)
committerFruitieX <fruitiex@gmail.com>
Sat, 2 Apr 2011 14:39:23 +0000 (17:39 +0300)
qcsrc/client/scoreboard.qc

index 517065ac5dd02fade24a500103bdb580dc09e26e..d5d5e599ad8ebf63e1bfc61973c44699b0ff63f7 100644 (file)
@@ -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)