From 3825e64ff018d891450560696bfd2146bb1c6f2b Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Mon, 18 Jul 2011 19:33:17 +0300 Subject: [PATCH] Don't show capacity when there's no prey and healthsize is disabled (it would only show 100% for no real reason or help) --- data/qcsrc/client/sbar.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/qcsrc/client/sbar.qc b/data/qcsrc/client/sbar.qc index afaee4d6..deecd121 100644 --- a/data/qcsrc/client/sbar.qc +++ b/data/qcsrc/client/sbar.qc @@ -3041,7 +3041,7 @@ void Sbar_Draw (void) status_pos = bottomleft - '-44 168 0'; status_size = 16; } - else + else if(g_healthsize) // no point in showing it otherwise { status_text = strcat(status_color, ftos(stomach_maxload), "%"); status_pos = bottomleft - '-44 170 0'; -- 2.39.2