]> git.xonotic.org Git - voretournament/voretournament.git/commitdiff
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 576fa502d16f49836a7c0b1db5ab3aae2c398633..4f167715f28f6b7b85448f1299b45fc24363e7dd 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 d092c83600f087a8b2f6476c5b375ebeb0b41b68..d31973859f9afbb923e9051de92bb609ccf98a98 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