From: MirceaKitsune Date: Mon, 18 Jul 2011 15:13:47 +0000 (+0300) Subject: Better sbar font size with the new indicator X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9a4bac554ad67800176562b970ec9aabc9cfb87d;p=voretournament%2Fvoretournament.git Better sbar font size with the new indicator --- diff --git a/data/qcsrc/client/sbar.qc b/data/qcsrc/client/sbar.qc index d4053718..d16aab82 100644 --- a/data/qcsrc/client/sbar.qc +++ b/data/qcsrc/client/sbar.qc @@ -3034,9 +3034,9 @@ void Sbar_Draw (void) vector status_pos; string status_text; status_text = strcat(ftos(stomach_load), "/", ftos(stomach_maxload)); - status_pos = bottomleft - '-44 171 0'; - status_pos -= '1 0 0' * stringwidth(status_text, FALSE, '22 22 0') * 0.5; - drawstring(status_pos, status_text, '22 22 0', '1 1 1', sbar_alpha_fg, DRAWFLAG_NORMAL); + status_pos = bottomleft - '-44 168 0'; + status_pos -= '1 0 0' * stringwidth(status_text, FALSE, '16 16 0') * 0.5; + drawstring(status_pos, status_text, '16 16 0', '1 1 1', sbar_alpha_fg, DRAWFLAG_NORMAL); if(getstati(STAT_VORE_DIGESTING)) // we are currently digesting drawpic(bottomleft - '-35 149 0', "gfx/hud/sb_digestion", '16 16 0', '0 1 0', sbar_alpha_fg, DRAWFLAG_NORMAL);