From: terencehill Date: Sun, 24 Feb 2013 13:08:50 +0000 (+0100) Subject: Fix autocvar_hud_panel_weapons_complainbubble 0 not working X-Git-Tag: xonotic-v0.7.0~62^2~11^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=18aa935d935f51863fd89bcf51279fb4e388422c;p=xonotic%2Fxonotic-data.pk3dir.git Fix autocvar_hud_panel_weapons_complainbubble 0 not working --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 77516699e..6632bfed8 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -514,8 +514,7 @@ void HUD_Weapons(void) weaponorder_cmp_str = string_null; } - if(autocvar_hud_panel_weapons_complainbubble) - if(autocvar__hud_configure || time - complain_weapon_time >= when + fadetime) + if(!autocvar_hud_panel_weapons_complainbubble || autocvar__hud_configure || time - complain_weapon_time >= when + fadetime) complain_weapon = 0; // determine which weapons are going to be shown