]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Better sbar font size with the new indicator
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 18 Jul 2011 15:13:47 +0000 (18:13 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 18 Jul 2011 15:13:47 +0000 (18:13 +0300)
data/qcsrc/client/sbar.qc

index d405371874959adf2c1e4fa2bfffd671cceb325d..d16aab820f8ad1304f606596cfeb2ae7b44d484b 100644 (file)
@@ -3034,9 +3034,9 @@ void Sbar_Draw (void)
                        vector status_pos;\r
                        string status_text;\r
                        status_text = strcat(ftos(stomach_load), "/", ftos(stomach_maxload));\r
-                       status_pos = bottomleft - '-44 171 0';\r
-                       status_pos -= '1 0 0' * stringwidth(status_text, FALSE, '22 22 0') * 0.5;\r
-                       drawstring(status_pos, status_text, '22 22 0', '1 1 1', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
+                       status_pos = bottomleft - '-44 168 0';\r
+                       status_pos -= '1 0 0' * stringwidth(status_text, FALSE, '16 16 0') * 0.5;\r
+                       drawstring(status_pos, status_text, '16 16 0', '1 1 1', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
 \r
                        if(getstati(STAT_VORE_DIGESTING)) // we are currently digesting\r
                                drawpic(bottomleft - '-35 149 0', "gfx/hud/sb_digestion", '16 16 0', '0 1 0', sbar_alpha_fg, DRAWFLAG_NORMAL);\r