summaryrefslogtreecommitdiff
path: root/src/files.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2012-07-21 16:41:27 +0400
committerAndrey Nazarov <skuller@skuller.net>2012-07-21 16:41:27 +0400
commit77b6fe9d77fd7f72002e53585958ba77b9b44d2b (patch)
tree05a9736b1827fd1662b3f60f05276cd1b57cc5e1 /src/files.c
parentf7f3b836ec17fa11fd3b07828fd91ac6bc4896d6 (diff)
Rename config filename macros.
Define them directly in source code.
Diffstat (limited to 'src/files.c')
-rw-r--r--src/files.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/files.c b/src/files.c
index 01c6ff4..ad31b45 100644
--- a/src/files.c
+++ b/src/files.c
@@ -3490,9 +3490,9 @@ static void fs_game_changed(cvar_t *self)
#endif
// exec autoexec.cfg (must be a real file within the game directory)
- ret = Cmd_ExecuteFile(COM_AUTOEXECCFG_NAME, FS_TYPE_REAL | FS_PATH_GAME);
+ ret = Cmd_ExecuteFile(COM_AUTOEXEC_CFG, FS_TYPE_REAL | FS_PATH_GAME);
if (ret && ret != Q_ERR_NOENT) {
- Com_WPrintf("Couldn't exec %s: %s\n", COM_AUTOEXECCFG_NAME, Q_ErrorString(ret));
+ Com_WPrintf("Couldn't exec %s: %s\n", COM_AUTOEXEC_CFG, Q_ErrorString(ret));
}
}