]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix bg fading
authorterencehill <piuntn@gmail.com>
Thu, 4 Aug 2016 18:09:25 +0000 (20:09 +0200)
committerterencehill <piuntn@gmail.com>
Thu, 4 Aug 2016 18:09:25 +0000 (20:09 +0200)
qcsrc/client/hud/panel/scoreboard.qc

index 4ca9843c8effd0e67604246c62fed31b49b44179..09fd87d06b904383adb0b14e5519b6e1cc41bfbe 100644 (file)
@@ -1289,7 +1289,7 @@ void HUD_DrawScoreboard()
                hud_fade_alpha = scoreboard_fade_alpha * (1 - autocvar__menu_alpha);
        HUD_Panel_UpdateCvars();
 
-       sbt_bg_alpha = autocvar_hud_panel_scoreboard_table_bg_alpha;
+       sbt_bg_alpha = autocvar_hud_panel_scoreboard_table_bg_alpha * panel_fg_alpha;
        sbt_highlight = autocvar_hud_panel_scoreboard_table_highlight;
        sbt_highlight_alpha = autocvar_hud_panel_scoreboard_table_highlight_alpha * panel_fg_alpha;
        sbt_highlight_alpha_self = autocvar_hud_panel_scoreboard_table_highlight_alpha_self * panel_fg_alpha;