Merge remote-tracking branch 'origin/terencehill/HUD_config_string_fix'
authorSamual Lenks <samual@xonotic.org>
Mon, 19 Aug 2013 21:15:03 +0000 (17:15 -0400)
committerSamual Lenks <samual@xonotic.org>
Mon, 19 Aug 2013 21:15:03 +0000 (17:15 -0400)
qcsrc/client/hud.qc

index 6df4576..5444c8a 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