]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/hud/panel/notify.qc
Add cvars to enable / disable the dynamic hud effects for each panel
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hud / panel / notify.qc
index 3c4b9c10514236a10d5be3f633ebe3c48587a5bb..a5e923825a989fc13e9b76b9c077de5b4ce97c31 100644 (file)
@@ -1,3 +1,4 @@
+#include "notify.qh"
 // Notification area (#4)
 
 void HUD_Notify_Push(string icon, string attacker, string victim)
@@ -47,6 +48,10 @@ void HUD_Notify()
                        return;
 
        HUD_Panel_UpdateCvars();
+       if (autocvar_hud_panel_notify_dynamichud)
+               HUD_Scale_Enable();
+       else
+               HUD_Scale_Disable();
        HUD_Panel_DrawBg(1);
 
        if (!autocvar__hud_configure)