From f43ca1bbd52918a437936caf013329010923594c Mon Sep 17 00:00:00 2001 From: terencehill Date: Sun, 20 Jan 2019 18:55:32 +0100 Subject: [PATCH 1/1] Use a simpler check here --- qcsrc/client/hud/panel/scoreboard.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/hud/panel/scoreboard.qc b/qcsrc/client/hud/panel/scoreboard.qc index 8299b3859..c48390bcd 100644 --- a/qcsrc/client/hud/panel/scoreboard.qc +++ b/qcsrc/client/hud/panel/scoreboard.qc @@ -824,7 +824,7 @@ void Scoreboard_DrawItem(vector item_pos, vector rgb, entity pl, bool is_self, i { TC(bool, is_self); TC(int, pl_number); string str; - bool is_spec = (entcs_GetTeam(pl.sv_entnum) == NUM_SPECTATOR); + bool is_spec = entcs_IsSpectating(pl.sv_entnum); vector h_pos = item_pos; vector h_size = vec2(panel_size.x, hud_fontsize.y * 1.25); -- 2.39.2