]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/hud/panel/centerprint.qc
Add cvars to enable / disable the dynamic hud effects for each panel
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hud / panel / centerprint.qc
index 23c383e45c3e22e856fb4e66f1bca7bda003bd40..afda329838c623f9d1e8b98712de71b82d8f5014 100644 (file)
@@ -186,7 +186,10 @@ void HUD_CenterPrint ()
                }
        }
 
-       HUD_Scale_Enable();
+       if (autocvar_hud_panel_centerprint_dynamichud)
+               HUD_Scale_Enable();
+       else
+               HUD_Scale_Disable();
        HUD_Panel_DrawBg(1);
 
        if (!centerprint_showing)