]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove stupid code: hud_fade_alpha is already 1 if that condition is true
authorterencehill <piuntn@gmail.com>
Wed, 22 May 2013 13:27:26 +0000 (15:27 +0200)
committerterencehill <piuntn@gmail.com>
Wed, 22 May 2013 13:27:26 +0000 (15:27 +0200)
qcsrc/client/hud.qc

index 1755b6012ae7b114fadef79ba5de958b4340eec0..88526591dd84ac7782f9da99890f2d2664ead399 100644 (file)
@@ -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