]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Don't show capacity when there's no prey and healthsize is disabled (it would only...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 18 Jul 2011 16:33:17 +0000 (19:33 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 18 Jul 2011 16:33:17 +0000 (19:33 +0300)
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