#include "notify.qh"
-// Notification area (#4)
+
+#include "scoreboard.qh"
+
+// Notifications (#4)
void HUD_Notify_Push(string icon, string attacker, string victim)
{
if (!autocvar_hud_panel_notify)
return;
- HUD_Panel_UpdateCvars();
+ if(1 - scoreboard_fade_alpha <= 0)
+ return;
+ HUD_Panel_LoadCvars(1 - scoreboard_fade_alpha);
if (autocvar_hud_panel_notify_dynamichud)
HUD_Scale_Enable();
else
HUD_Scale_Disable();
- HUD_Panel_DrawBg(1);
+ HUD_Panel_DrawBg();
if (!autocvar__hud_configure)
if (notify_count == 0)