X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fhud%2Fpanel%2Fpowerups.qc;fp=qcsrc%2Fclient%2Fhud%2Fpanel%2Fpowerups.qc;h=7542e0a81efd9896be632f4162929836fb67a368;hb=06bf8b3259ecb57a7264e04deeb1b1f3656b87fd;hp=3b34be0f69bd53063f441f440b8cb083992443ad;hpb=3d632e50853d7bf6e499fc4400e5f4254ad54a1c;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/hud/panel/powerups.qc b/qcsrc/client/hud/panel/powerups.qc index 3b34be0f6..7542e0a81 100644 --- a/qcsrc/client/hud/panel/powerups.qc +++ b/qcsrc/client/hud/panel/powerups.qc @@ -1,6 +1,5 @@ #include "powerups.qh" -#include "scoreboard.qh" #include // Powerups (#2) @@ -110,9 +109,8 @@ void HUD_Powerups() return; // Draw panel background - if(1 - scoreboard_fade_alpha <= 0) - return; - HUD_Panel_LoadCvars(1 - scoreboard_fade_alpha); + HUD_Panel_LoadCvars(); + if (autocvar_hud_panel_powerups_dynamichud) HUD_Scale_Enable(); else