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
|
@ -949,7 +949,7 @@ SV_Gamedir_f
|
||||||
Sets the gamedir and path to a different directory.
|
Sets the gamedir and path to a different directory.
|
||||||
================
|
================
|
||||||
*/
|
*/
|
||||||
char gamedirfile[MAX_OSPATH];
|
|
||||||
void COM_Gamedir_f (void)
|
void COM_Gamedir_f (void)
|
||||||
{
|
{
|
||||||
char *dir;
|
char *dir;
|
||||||
|
|
|
@ -583,6 +583,7 @@ void CL_ParseServerData (void)
|
||||||
Cbuf_AddText ("cl_warncmd 0\n");
|
Cbuf_AddText ("cl_warncmd 0\n");
|
||||||
Cbuf_AddText("exec config.cfg\n");
|
Cbuf_AddText("exec config.cfg\n");
|
||||||
Cbuf_AddText("exec frontend.cfg\n");
|
Cbuf_AddText("exec frontend.cfg\n");
|
||||||
|
Cbuf_AddText("exec autoexec.cfg\n");
|
||||||
Cbuf_AddText ("cl_warncmd 1\n");
|
Cbuf_AddText ("cl_warncmd 1\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue