health_pos -= '1 0 0' * stringwidth(ftos(x), FALSE, '22 22 0') * 0.5;\r
Sbar_DrawXNum(health_pos, x, 3, 0, 22, Sbar_NumColor(x), sbar_alpha_fg, DRAWFLAG_NORMAL);\r
\r
+ // if we are dead, we can skip the HUD from here\r
+ if(health <= 0)\r
+ return;\r
+\r
// ammo\r
pos_x = bottom_x + 140;\r
pos_y = bottom_y - 20;\r
status_pos = bottomleft - '-43 168 0';\r
status_size = 16;\r
}\r
- else if(g_healthsize_center >= 0) // no point in showing it otherwise\r
+ else\r
{\r
status_text = strcat(status_color, ftos(stomach_maxload));\r
status_pos = bottomleft - '-43 170 0';\r