diff --git a/code/client/cl_parse.c b/code/client/cl_parse.c index 00c0f8d..b376d0a 100644 --- a/code/client/cl_parse.c +++ b/code/client/cl_parse.c @@ -435,7 +435,7 @@ void CL_SystemInfoChanged( void ) { } // if game folder should not be set and it is set at the client side if ( !gameSet && *Cvar_VariableString("fs_game") ) { - Cvar_Set( "fs_game", "" ); + Cvar_Set( "fs_game", "rpgxEF" ); } cl_connectedToPureServer = Cvar_VariableValue( "sv_pure" ); } diff --git a/code/client/cl_ui.c b/code/client/cl_ui.c index afb72cd..f9776cf 100644 --- a/code/client/cl_ui.c +++ b/code/client/cl_ui.c @@ -657,7 +657,7 @@ CLUI_SetCDKey #ifndef STANDALONE static void CLUI_SetCDKey( char *buf ) { cvar_t *fs; - fs = Cvar_Get ("fs_game", "", CVAR_INIT|CVAR_SYSTEMINFO ); + fs = Cvar_Get ("fs_game", "rpgxEF", CVAR_INIT|CVAR_SYSTEMINFO ); if (UI_usesUniqueCDKey() && fs && fs->string[0] != 0) { Com_Memcpy( &cl_cdkey[16], buf, 16 ); cl_cdkey[32] = 0; diff --git a/code/qcommon/files.c b/code/qcommon/files.c index f71f31f..231cbe7 100644 --- a/code/qcommon/files.c +++ b/code/qcommon/files.c @@ -3175,7 +3175,7 @@ static void FS_Startup( const char *gameName ) homePath = fs_basepath->string; } fs_homepath = Cvar_Get ("fs_homepath", homePath, CVAR_INIT|CVAR_PROTECTED ); - fs_gamedirvar = Cvar_Get ("fs_game", "", CVAR_INIT|CVAR_SYSTEMINFO ); + fs_gamedirvar = Cvar_Get ("fs_game", "rpgxEF", CVAR_INIT|CVAR_SYSTEMINFO ); // add search path elements in reverse priority order if (fs_basepath->string[0]) { @@ -3222,7 +3222,7 @@ static void FS_Startup( const char *gameName ) cvar_t *fs; Com_ReadCDKey(BASEGAME); - fs = Cvar_Get ("fs_game", "", CVAR_INIT|CVAR_SYSTEMINFO ); + fs = Cvar_Get ("fs_game", "rgpxEF", CVAR_INIT|CVAR_SYSTEMINFO ); if (fs && fs->string[0] != 0) { Com_AppendCDKey( fs->string ); } @@ -3937,7 +3937,7 @@ void FS_InitFilesystem( void ) { Com_StartupVariable("fs_game"); if(!FS_FilenameCompare(Cvar_VariableString("fs_game"), com_basegame->string)) - Cvar_Set("fs_game", ""); + Cvar_Set("fs_game", "rpgxEF"); // try to start up normally FS_Startup(com_basegame->string); diff --git a/code/ui/ui_main.c b/code/ui/ui_main.c index a8a4d86..cdae81b 100644 --- a/code/ui/ui_main.c +++ b/code/ui/ui_main.c @@ -3341,7 +3341,7 @@ static void UI_RunMenuScript(char **args) { } else if (Q_stricmp(name, "RunDemo") == 0) { trap_Cmd_ExecuteText( EXEC_APPEND, va("demo %s\n", uiInfo.demoList[uiInfo.demoIndex])); } else if (Q_stricmp(name, "Quake3") == 0) { - trap_Cvar_Set( "fs_game", ""); + trap_Cvar_Set( "fs_game", "rpgxEF"); trap_Cmd_ExecuteText( EXEC_APPEND, "vid_restart;" ); } else if (Q_stricmp(name, "closeJoin") == 0) { if (uiInfo.serverStatus.refreshActive) {