]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/client/sbar.qc
Get rid of networking a cvar by doing another check instead
[voretournament/voretournament.git] / data / qcsrc / client / sbar.qc
index 0c95d1609bcdb516a689be910cafcbdd79d93282..50d5245668dc9104a9020cf89a0aefc3f17c663f 100644 (file)
@@ -985,7 +985,7 @@ void Sbar_PrintStomachboardItem(vector pos, entity pl)
                }\r
 \r
                if(field == ST_HEALTH)\r
-               if(g_vore_showpreyhealth) {\r
+               if(stof(str) > 0) {\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