Don't show "self" in the health field of the stomach board when the player in cause...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 7 Feb 2013 21:27:03 +0000 (23:27 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 7 Feb 2013 21:27:03 +0000 (23:27 +0200)
data/qcsrc/client/hud.qc
docs/TODO.txt

index 576fa50..4f16771 100644 (file)
@@ -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");\r
                        sz_x = dimensions_x * cvar("hud_item_preylist_health_icon_length");\r
 \r
-                       if(pl.sv_entnum == player_localentnum - 1 || (spectatee_status && pl.sv_entnum == spectatee_status - 1))\r
-                               drawcolorcodedstring(pos, textShortenToWidth("self", sz_x, font_sz, stringwidth_colors), font_sz, sbar_alpha_fg, DRAWFLAG_NORMAL);\r
-                       else\r
+                       if not(pl.sv_entnum == player_localentnum - 1 || (spectatee_status && pl.sv_entnum == spectatee_status - 1))\r
                        {\r
                                drawpic(pos, Sbar_GetTexture("sb_health"), sz, '1 1 1', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
 \r
index d092c83..d319738 100644 (file)
 \r
 - 0.8: Does the "viewsize" cvar still need to be used for the HUD?\r
 \r
-- 0.8 BUG: Remove showing "self" in the prey list for health, it's buggy and unneeded\r
-\r
 - 0.8: Bring back balances from older versions of VT as other cfg files\r
 \r
 - 0.8: Wind effect when going fast (audio)\r