From 3de4a896c6c6a245f477c78fea1c417d59e8d952 Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 21 Nov 2011 22:46:28 +0100 Subject: [PATCH] Yet another bug in the commit c500f774... (OMG Samual, how many changes in one commit!) --- qcsrc/client/hud.qc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 4d46c85fc..fd2073c0e 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -456,7 +456,7 @@ void HUD_Weapons(void) vector color, ammo_color; // check to see if we want to continue - if(hud != HUD_NORMAL) { return; } + if(hud != HUD_NORMAL) { return; } if(!autocvar__hud_configure) { @@ -533,7 +533,7 @@ void HUD_Weapons(void) ++weapon_count; // add it anyway if weaponcomplain is shown - if((!autocvar__hud_configure) + if((!autocvar__hud_configure) && (autocvar_hud_panel_weapons_complainbubble && time - complain_weapon_time < when + fadetime)) ++weapon_count; @@ -630,7 +630,7 @@ void HUD_Weapons(void) if(panel_bg_padding) { panel_pos += '1 1 0' * panel_bg_padding; - panel_size -= '1 1 0' * panel_bg_padding; + panel_size -= '2 2 0' * panel_bg_padding; } // after the sizing and animations are done, update the other values -- 2.39.2