don't draw "ammo_currentbg" in showonlycurrent mode
authorFruitieX <rasse@rasse-lappy.localdomain>
Tue, 18 May 2010 20:26:21 +0000 (23:26 +0300)
committerFruitieX <rasse@rasse-lappy.localdomain>
Tue, 18 May 2010 20:26:21 +0000 (23:26 +0300)
qcsrc/client/hud.qc

index e9c664a8584721500dd2270db82f0553f535a315..511bfa26dbc564d733cb0ddc36f753d1c61a7dac 100644 (file)
@@ -1318,7 +1318,6 @@ void HUD_Inventory()
 
                if(cvar("hud_inventory_onlycurrent")) {
                        if (stat_items & GetAmmoItemCode(i)) {
-                               drawpic_skin(pos, "ammo_current_bg", mySize, '1 1 1', hud_alpha_fg, DRAWFLAG_NORMAL);
                                drawpic_skin(pos + eY * 0.05 * mySize_y, GetAmmoPicture(i), '1 1 0' * 0.8 * mySize_y, '1 1 1', hud_alpha_fg, DRAWFLAG_NORMAL);
                                if(a < 10)
                                        HUD_DrawXNum(pos + eX * 0.8 * mySize_y + eY * 0.25 * mySize_y, a, strlen(ftos(a)), 0, 0.5 * mySize_y, '0.7 0 0', 0, 0, hud_alpha_fg, DRAWFLAG_NORMAL);