]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix autocvar_hud_panel_weapons_complainbubble 0 not working
authorterencehill <piuntn@gmail.com>
Sun, 24 Feb 2013 13:08:50 +0000 (14:08 +0100)
committerterencehill <piuntn@gmail.com>
Sun, 24 Feb 2013 13:08:50 +0000 (14:08 +0100)
qcsrc/client/hud.qc

index 77516699ef58da836c9b428b1e9a90b311ba52c0..6632bfed8a8089470ee73c90c38bceccac570ded 100644 (file)
@@ -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