]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
HUD config: Fix countdown number displayed as %d
authorterencehill <piuntn@gmail.com>
Tue, 18 Jun 2013 17:32:35 +0000 (19:32 +0200)
committerterencehill <piuntn@gmail.com>
Tue, 18 Jun 2013 17:32:35 +0000 (19:32 +0200)
qcsrc/client/hud.qc

index 273f427e49d11b182662b0a9566c80734e1051f7..99e5b327370dc8a518cc1741ed924b793497e10f 100644 (file)
@@ -4209,7 +4209,7 @@ void HUD_CenterPrint (void)
                        float r;
                        r = random();
                        if (r > 0.9)
-                               centerprint_generic(floor(r*1000), strcat(sprintf("^3Countdown message at time %s", seconds_tostring(time)), ", seconds left: %d"), 1, 10);
+                               centerprint_generic(floor(r*1000), strcat(sprintf("^3Countdown message at time %s", seconds_tostring(time)), ", seconds left: ^COUNT"), 1, 10);
                        else if (r > 0.8)
                                centerprint_generic(0, sprintf("^1Multiline message at time %s that\n^1lasts longer than normal", seconds_tostring(time)), 20, 0);
                        else