]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/client/sbar.qc
Show minus health for prey on the stomach board
[voretournament/voretournament.git] / data / qcsrc / client / sbar.qc
index 4250c12086406ff6d4ee39f7943f5b561548d73d..94c038e6233712698266e1d73466901ce64904b0 100644 (file)
@@ -952,8 +952,7 @@ void Sbar_PrintStomachboardItem(vector pos, entity pl)
                        drawcolorcodedstring(pos, textShortenToWidth(str, 138, '11 11 0', stringwidth_colors), '11 11 0', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
                }\r
 \r
-               if(field == ST_HEALTH)\r
-               if(stof(str) > 0) {\r
+               if(field == ST_HEALTH) {\r
                        pos_x += 138;\r
                                if(pl.sv_entnum == player_localentnum - 1 || (spectatee_status && pl.sv_entnum == spectatee_status - 1))\r
                                        drawcolorcodedstring(pos, "self", '11 11 0', sbar_alpha_fg, DRAWFLAG_NORMAL);\r