]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Just a quick fix for the teamkill message coloring -- if the player has colors in...
authorSamual <samual@xonotic.org>
Tue, 24 May 2011 05:22:06 +0000 (01:22 -0400)
committerSamual <samual@xonotic.org>
Tue, 24 May 2011 05:22:06 +0000 (01:22 -0400)
qcsrc/client/hud.qc

index 91256b9c5d566bb9d1d900368ceb53688992766e..1af513bf4bddd08a558604722a325630e9b8c04e 100644 (file)
@@ -2034,9 +2034,9 @@ void HUD_Centerprint(string s1, string s2, float type, float msg)
        } else if(msg == MSG_KILL) {
                if (type == KILL_TEAM_RED || type == KILL_TEAM_BLUE) {
                        if(gentle) {
-                               centerprint(strcat(DAMAGE_CENTERPRINT_SPACER, sprintf(_("^1Moron! You went against %s, a team mate!"), s1)));
+                               centerprint(strcat(DAMAGE_CENTERPRINT_SPACER, sprintf(_("^1Moron! You went against ^7%s^1, a team mate!"), s1)));
                        } else {
-                               centerprint(strcat(DAMAGE_CENTERPRINT_SPACER, sprintf(_("^1Moron! You fragged %s, a team mate!"), s1)));
+                               centerprint(strcat(DAMAGE_CENTERPRINT_SPACER, sprintf(_("^1Moron! You fragged ^7%s^1, a team mate!"), s1)));
                        }
                } else if (type == KILL_FIRST_BLOOD) {
                        if(gentle) {