From afa118e817f96e3cca8082835dde6f92698560bc Mon Sep 17 00:00:00 2001 From: div0 Date: Sun, 26 Oct 2008 13:42:14 +0000 Subject: [PATCH] fix ammo display with sbar_hudselector 0 git-svn-id: svn://svn.icculus.org/nexuiz/trunk@4885 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/qcsrc/client/sbar.qc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/data/qcsrc/client/sbar.qc b/data/qcsrc/client/sbar.qc index 9d6da3b2e..608c3d68a 100644 --- a/data/qcsrc/client/sbar.qc +++ b/data/qcsrc/client/sbar.qc @@ -1722,9 +1722,8 @@ void Sbar_Draw (void) else Sbar_DrawXNum('81 12 0', x, 3, 24, '0.6 0.7 0.8', 1, 0); - // AK dont draw ammo for the laser x = getstati(STAT_AMMO); - if(activeweapon != 12) + if ((stat_items & IT_AMMO) || x != 0) { // (519-3*24) = 447 if (stat_items & IT_SHELLS) -- 2.39.2