X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fplayerlist.c;h=315a68caa731b4c15657ca4e0d20c13b60814c60;hb=e1a3fb3e393b3857351293112020d32282afe97d;hp=4c1c62af26d6319350776e9526782f1d5702b440;hpb=2bfd748e228cc992041a15827d3f126916efed22;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/playerlist.c b/qcsrc/menu/xonotic/playerlist.c index 4c1c62af2..315a68caa 100644 --- a/qcsrc/menu/xonotic/playerlist.c +++ b/qcsrc/menu/xonotic/playerlist.c @@ -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"); }