summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cgame/cg_main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c
index cf1e1eff..feb16cae 100644
--- a/src/cgame/cg_main.c
+++ b/src/cgame/cg_main.c
@@ -162,7 +162,6 @@ vmCvar_t cg_noPrintDuplicate;
vmCvar_t cg_noVoiceChats;
vmCvar_t cg_noVoiceText;
vmCvar_t cg_hudFiles;
-vmCvar_t cg_hudFilesEnable;
vmCvar_t cg_smoothClients;
vmCvar_t pmove_fixed;
vmCvar_t pmove_msec;
@@ -305,7 +304,6 @@ static cvarTable_t cvarTable[ ] =
{ &cg_disableScannerPlane, "cg_disableScannerPlane", "0", CVAR_ARCHIVE },
{ &cg_tutorial, "cg_tutorial", "1", CVAR_ARCHIVE },
{ &cg_hudFiles, "cg_hudFiles", "ui/hud.txt", CVAR_ARCHIVE},
- { &cg_hudFilesEnable, "cg_hudFilesEnable", "0", CVAR_ARCHIVE},
{ NULL, "cg_alienConfig", "", CVAR_ARCHIVE },
{ NULL, "cg_humanConfig", "", CVAR_ARCHIVE },
{ NULL, "cg_spectatorConfig", "", CVAR_ARCHIVE },
@@ -1677,7 +1675,7 @@ void CG_LoadHudMenu( void )
trap_Cvar_VariableStringBuffer( "cg_hudFiles", buff, sizeof( buff ) );
hudSet = buff;
- if( !cg_hudFilesEnable.integer || hudSet[ 0 ] == '\0' )
+ if( hudSet[ 0 ] == '\0' )
hudSet = "ui/hud.txt";
CG_LoadMenus( hudSet );