+ armor_pos = bottom - '62 68 0';\r
+\r
+ // armor\r
+ x = armor;\r
+ if (x > 0)\r
+ {\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 -= 7; // always center\r
+ Sbar_DrawXNum_Colored(armor_pos, x, 12, sbar_alpha_fg);\r
+ }\r