X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fhud%2Fpanel%2Fammo.qc;h=b4a7b6040a92cd5f980253d8a4f51858c5df2662;hb=acc08b9655874164549bc2600f78c6edbc3c084a;hp=cab9d197d0aa6d3f29420d311f6e01f7eb3405a6;hpb=67610c5b92e218cc245c040209c1a79ab6b02758;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/hud/panel/ammo.qc b/qcsrc/client/hud/panel/ammo.qc index cab9d197d..b4a7b6040 100644 --- a/qcsrc/client/hud/panel/ammo.qc +++ b/qcsrc/client/hud/panel/ammo.qc @@ -1,12 +1,10 @@ #include "ammo.qh" -#include #include #include -#include #include -#include #include +#include // Ammo (#1) @@ -117,7 +115,7 @@ void HUD_Ammo() { if((!autocvar_hud_panel_ammo) || (spectatee_status == -1)) return; - if(STAT(HEALTH) < 1 && autocvar_hud_panel_ammo_hide_ondeath) + if(STAT(HEALTH) <= 0 && autocvar_hud_panel_ammo_hide_ondeath) return; }