From a97caf08366e438002c6b8373bb798fd4343c6d0 Mon Sep 17 00:00:00 2001 From: Daniel Gibson Date: Tue, 21 Jan 2025 03:06:41 +0100 Subject: [PATCH] Make cst_hudAdjustAspect default to 1 If GUIs with CST anchors are there, they should be displayed correctly. With standard GUIs this doesn't make a difference, so it doesn't hurt. --- neo/ui/Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/ui/Window.cpp b/neo/ui/Window.cpp index 5c1196d6..bf900ae8 100644 --- a/neo/ui/Window.cpp +++ b/neo/ui/Window.cpp @@ -55,7 +55,7 @@ bool idWindow::registerIsTemporary[MAX_EXPRESSION_REGISTERS]; // statics to ass idCVar idWindow::gui_debug( "gui_debug", "0", CVAR_GUI | CVAR_BOOL, "" ); idCVar idWindow::gui_edit( "gui_edit", "0", CVAR_GUI | CVAR_BOOL, "" ); //#modified-fva; BEGIN -idCVar cst_hudAdjustAspect("cst_hudAdjustAspect", "0", CVAR_GUI | CVAR_BOOL | CVAR_ARCHIVE, "adjust the HUD's aspect when the screen aspect ratio isn't 4:3"); +idCVar cst_hudAdjustAspect("cst_hudAdjustAspect", "1", CVAR_GUI | CVAR_BOOL | CVAR_ARCHIVE, "adjust the HUD's aspect when the screen aspect ratio isn't 4:3"); //#modified-fva; END extern idCVar r_skipGuiShaders; // 1 = don't render any gui elements on surfaces