From ef3a63f97224758b0242931cc0d74e1796cdfe80 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Thu, 7 Feb 2013 23:27:03 +0200 Subject: [PATCH] Don't show "self" in the health field of the stomach board when the player in cause is listed --- data/qcsrc/client/hud.qc | 4 +--- docs/TODO.txt | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/data/qcsrc/client/hud.qc b/data/qcsrc/client/hud.qc index 576fa502..4f167715 100644 --- a/data/qcsrc/client/hud.qc +++ b/data/qcsrc/client/hud.qc @@ -1060,9 +1060,7 @@ void Sbar_PrintStomachboardItem(entity pl, vector position, vector dimensions) pos_x = position_x + dimensions_x * cvar("hud_item_preylist_health_icon_location"); sz_x = dimensions_x * cvar("hud_item_preylist_health_icon_length"); - if(pl.sv_entnum == player_localentnum - 1 || (spectatee_status && pl.sv_entnum == spectatee_status - 1)) - drawcolorcodedstring(pos, textShortenToWidth("self", sz_x, font_sz, stringwidth_colors), font_sz, sbar_alpha_fg, DRAWFLAG_NORMAL); - else + if not(pl.sv_entnum == player_localentnum - 1 || (spectatee_status && pl.sv_entnum == spectatee_status - 1)) { drawpic(pos, Sbar_GetTexture("sb_health"), sz, '1 1 1', sbar_alpha_fg, DRAWFLAG_NORMAL); diff --git a/docs/TODO.txt b/docs/TODO.txt index d092c836..d3197385 100644 --- a/docs/TODO.txt +++ b/docs/TODO.txt @@ -256,8 +256,6 @@ - 0.8: Does the "viewsize" cvar still need to be used for the HUD? -- 0.8 BUG: Remove showing "self" in the prey list for health, it's buggy and unneeded - - 0.8: Bring back balances from older versions of VT as other cfg files - 0.8: Wind effect when going fast (audio) -- 2.39.2