mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-25 05:11:23 +00:00
casue autoexec.cfg to be executed in the new gamedir (after frontend.cfg)
also, clean up quakefs.c a little (minor)
This commit is contained in:
parent
e94c1488ac
commit
2e61dac258
2 changed files with 2 additions and 1 deletions
|
@ -949,7 +949,7 @@ SV_Gamedir_f
|
|||
Sets the gamedir and path to a different directory.
|
||||
================
|
||||
*/
|
||||
char gamedirfile[MAX_OSPATH];
|
||||
|
||||
void COM_Gamedir_f (void)
|
||||
{
|
||||
char *dir;
|
||||
|
|
|
@ -583,6 +583,7 @@ void CL_ParseServerData (void)
|
|||
Cbuf_AddText ("cl_warncmd 0\n");
|
||||
Cbuf_AddText("exec config.cfg\n");
|
||||
Cbuf_AddText("exec frontend.cfg\n");
|
||||
Cbuf_AddText("exec autoexec.cfg\n");
|
||||
Cbuf_AddText ("cl_warncmd 1\n");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue