From: LegendaryGuard Date: Mon, 15 Feb 2021 16:05:27 +0000 (+0100) Subject: Making name icon color field in the scoreboard visible X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=dd10f59ac5bffc527340b67e468b75f6145aaee7;p=xonotic%2Fxonotic-data.pk3dir.git Making name icon color field in the scoreboard visible --- diff --git a/qcsrc/client/hud/panel/scoreboard.qc b/qcsrc/client/hud/panel/scoreboard.qc index dbeaf61db..ccd273686 100644 --- a/qcsrc/client/hud/panel/scoreboard.qc +++ b/qcsrc/client/hud/panel/scoreboard.qc @@ -620,7 +620,7 @@ string Scoreboard_GetName(entity pl) { sbt_field_icon0 = "gfx/scoreboard/player_ready"; } - /*else if(!teamplay) + else if(!teamplay) { int f = entcs_GetClientColors(pl.sv_entnum); { @@ -630,7 +630,7 @@ string Scoreboard_GetName(entity pl) sbt_field_icon2 = "gfx/scoreboard/playercolor_pants"; sbt_field_icon2_rgb = colormapPaletteColor(f % 16, 1); } - }*/ + } else { int ccode = entcs_GetCountryCode(pl.sv_entnum);