- Default display of map name in SW to be off by default.

This commit is contained in:
Mitchell Richters 2022-10-25 11:47:00 +11:00
parent 143f691c06
commit 33d74c9009
2 changed files with 2 additions and 1 deletions

View file

@ -1030,6 +1030,7 @@ int RunGame()
}
if (isSWALL())
{
hud_showmapname->SetGenericRepDefault(false, CVAR_Bool); // SW never had this feature, make it optional.
cl_weaponswitch->SetGenericRepDefault(1, CVAR_Int);
if (cl_weaponswitch > 1) cl_weaponswitch = 1;
}

View file

@ -184,7 +184,7 @@ CUSTOM_CVARD(Int, hud_stats, 0, CVAR_ARCHIVE | CVAR_GLOBALCONFIG, "enable/disabl
{
if (self < 0 || self > 3) self = 0;
}
CVARD(Bool, hud_showmapname, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG, "enable/disable map name display on load")
CVARD(Bool, hud_showmapname, true, CVAR_ARCHIVE, "enable/disable map name display on load")
CVARD(Bool, hud_position, false, CVAR_ARCHIVE, "aligns the status bar to the bottom/top")
CVARD(Bool, hud_bgstretch, false, CVAR_ARCHIVE, "enable/disable background image stretching in wide resolutions")
CVARD(Bool, hud_messages, true, CVAR_ARCHIVE, "enable/disable showing messages")