From: terencehill Date: Wed, 22 May 2013 13:27:26 +0000 (+0200) Subject: Remove stupid code: hud_fade_alpha is already 1 if that condition is true X-Git-Tag: xonotic-v0.8.0~226^2~1^2~10 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=83d1c44e4ef08097f4fe8d130d7991a7f3bd45c6;p=xonotic%2Fxonotic-data.pk3dir.git Remove stupid code: hud_fade_alpha is already 1 if that condition is true --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 1755b6012..88526591d 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -4381,8 +4381,6 @@ void HUD_Main (void) if(intermission == 2) // no hud during mapvote hud_fade_alpha = 0; - else if(autocvar__menu_alpha == 0 && scoreboard_fade_alpha == 0) - hud_fade_alpha = 1; // panels that we want to be active together with the scoreboard // they must call HUD_Panel_ApplyFadeAlpha(); only when showing the menu