]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/client/sbar.qc
Don't show capacity when there's no prey and healthsize is disabled (it would only...
[voretournament/voretournament.git] / data / qcsrc / client / sbar.qc
index afaee4d67d9997649938156cb8742aeffe59d3fe..deecd121d76665def44f64f95d19020912ca9a24 100644 (file)
@@ -3041,7 +3041,7 @@ void Sbar_Draw (void)
                                status_pos = bottomleft - '-44 168 0';\r
                                status_size = 16;\r
                        }\r
-                       else\r
+                       else if(g_healthsize) // no point in showing it otherwise\r
                        {\r
                                status_text = strcat(status_color, ftos(stomach_maxload), "%");\r
                                status_pos = bottomleft - '-44 170 0';\r