Skip to content

Commit

Permalink
Make cst_hudAdjustAspect default to 1
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
DanielGibson committed Jan 21, 2025
1 parent f3192be commit a97caf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo/ui/Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a97caf0

Please sign in to comment.