]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Better text colors
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 6 Oct 2012 10:54:10 +0000 (13:54 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 6 Oct 2012 10:54:10 +0000 (13:54 +0300)
qcsrc/client/scoreboard.qc

index 21e800abc02adcf870929354d2bf0896e56a5c62..ffa4c6e220bec97c2c28d08a874abfe90e47b3aa 100644 (file)
@@ -1385,12 +1385,12 @@ void HUD_DrawScoreboard()
                {
                        // a negative number means we are awaiting respawn, time value is still the same
                        respawn_time *= -1; // remove mark now that we checked it
-                       str = strcat("Respawning in ^3", substring(ftos(bound(0, respawn_time - time, 9.999999)), 0, 4), "^7 seconds...");
+                       str = strcat("^1Respawning in ^3", substring(ftos(bound(0, respawn_time - time, 9.999999)), 0, 4), "^1 seconds...");
                }
                else if(time < respawn_time)
                        str = strcat("You are dead, wait ^3", substring(ftos(bound(0, respawn_time - time, 9.999999)), 0, 4), "^7 seconds before respawning");
                else if(time >= respawn_time)
-                       str = strcat("You are dead, press ^1", getcommandkey("primary fire", "+fire"), "^7 to respawn");
+                       str = strcat("You are dead, press ^2", getcommandkey("primary fire", "+fire"), "^7 to respawn");
 
                pos_y += 1.2 * hud_fontsize_y;
                drawcolorcodedstring(pos + '0.5 0 0' * (sbwidth - stringwidth(str, TRUE, hud_fontsize)), str, hud_fontsize, scoreboard_alpha_fg, DRAWFLAG_NORMAL);