summaryrefslogtreecommitdiff
path: root/src/qcommon/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcommon/common.c')
-rw-r--r--src/qcommon/common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qcommon/common.c b/src/qcommon/common.c
index 3d3cd38d..c074aa74 100644
--- a/src/qcommon/common.c
+++ b/src/qcommon/common.c
@@ -2418,7 +2418,7 @@ void Com_Init( char *commandLine ) {
// skip the autogen.cfg if "safe" is on the command line
if ( !Com_SafeMode() ) {
- Cbuf_AddText ("exec autogen.cfg\n");
+ Cbuf_AddText ("exec " Q3CONFIG_CFG "\n");
}
Cbuf_AddText ("exec autoexec.cfg\n");
@@ -2562,7 +2562,7 @@ void Com_WriteConfiguration( void ) {
}
cvar_modifiedFlags &= ~CVAR_ARCHIVE;
- Com_WriteConfigToFile( "autogen.cfg" );
+ Com_WriteConfigToFile( Q3CONFIG_CFG );
}