From: MirceaKitsune Date: Mon, 18 Jul 2011 16:33:17 +0000 (+0300) Subject: Don't show capacity when there's no prey and healthsize is disabled (it would only... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3825e64ff018d891450560696bfd2146bb1c6f2b;p=voretournament%2Fvoretournament.git Don't show capacity when there's no prey and healthsize is disabled (it would only show 100% for no real reason or help) --- 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';