From 2f0de5498101f58e956f288f3f1c4a30275256ab Mon Sep 17 00:00:00 2001 From: z411 Date: Sun, 18 Apr 2021 18:02:21 -0400 Subject: [PATCH] Removed score HUD health bar now that spectator HUD exists --- qcsrc/client/hud/panel/score.qc | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/qcsrc/client/hud/panel/score.qc b/qcsrc/client/hud/panel/score.qc index e06d9eee8..3046335ca 100644 --- a/qcsrc/client/hud/panel/score.qc +++ b/qcsrc/client/hud/panel/score.qc @@ -185,18 +185,6 @@ void HUD_Score_Rankings(vector pos, vector mySize, entity me) if (team_count) score_color = Team_ColorRGB(pl.team) * 0.8; - entity entcs = entcs_receiver(pl.sv_entnum); - if(entcs.m_entcs_private) { - // z411 draw health/armor bar - vector bar_sz = vec2(mySize.x, fontsize.y); - - bar_sz.x *= entcs.healthvalue / autocvar_hud_panel_healtharmor_maxhealth; - drawfill(pos, bar_sz, ((team_count) ? score_color : '0.8 0.8 0'), 0.5, DRAWFLAG_NORMAL); - - bar_sz.x *= GetResource(entcs, RES_ARMOR) / autocvar_hud_panel_healtharmor_maxarmor; - drawfill(pos + eY * (bar_sz.y * 0.7), bar_sz - eY * (bar_sz.y * 0.7), ((team_count) ? score_color : '0 0.8 0.8'), 1, DRAWFLAG_NORMAL); - } - if (pl == me) { if (i == first_pl) -- 2.39.2