]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/playerlist.c
Make Centerprint Panel title coherent with other panel dialogs
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / playerlist.c
index 4c1c62af26d6319350776e9526782f1d5702b440..315a68caa731b4c15657ca4e0d20c13b60814c60 100644 (file)
@@ -108,8 +108,8 @@ void XonoticPlayerList_drawListBoxItem(entity me, float i, vector absSize, float
        else if(t == 4)
                rgb = colormapPaletteColor(9, 0);
        else
-               rgb = '1 1 1';
-       
+               rgb = SKINCOLOR_TEXT;
+
        s = me.getPlayerList(me, i, PLAYERPARM_NAME);
        score = me.getPlayerList(me, i, PLAYERPARM_SCORE);
 
@@ -123,7 +123,7 @@ void XonoticPlayerList_drawListBoxItem(entity me, float i, vector absSize, float
                        score = substring(score, 0, t);
                if((t = strstrofs(score, ",", 0)) >= 0)
                        score = substring(score, 0, t);
-                       
+
                if(stof(score) == -666)
                        score = _("spectator");
        }