]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/client/sbar.qc
Properly position the armor icon too
[voretournament/voretournament.git] / data / qcsrc / client / sbar.qc
index 54e1aa14b2cdb5ef1f75169e55d817a85aeaaf32..a63c2ae4642623296bcc95c6d22ac73dd82f9dfc 100644 (file)
@@ -3033,7 +3033,7 @@ void Sbar_Draw (void)
                x = armor;\r
                if (x > 0)\r
                {\r
-                       drawpic(armor_pos + '0 -20.5 0', "gfx/hud/sb_armor", '16 16 0', '1 1 1', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
+                       drawpic(armor_pos + '10 -13.5 0', "gfx/hud/sb_armor", '16 16 0', '1 1 1', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
                        if(x < 100) armor_pos_x -= 4.5; // always center\r
                        if(x < 10) armor_pos_x -= 6.5; // always center\r
                        Sbar_DrawXNum_Colored(armor_pos, x, 12, sbar_alpha_fg);\r