From: MirceaKitsune Date: Thu, 7 Feb 2013 21:27:03 +0000 (+0200) Subject: Don't show "self" in the health field of the stomach board when the player in cause... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ef3a63f97224758b0242931cc0d74e1796cdfe80;p=voretournament%2Fvoretournament.git Don't show "self" in the health field of the stomach board when the player in cause is listed --- 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)