diff --git a/common/quakefs.c b/common/quakefs.c index 8bdf3d7..93ed0e9 100644 --- a/common/quakefs.c +++ b/common/quakefs.c @@ -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; diff --git a/qw_client/cl_parse.c b/qw_client/cl_parse.c index ccacb83..d2dd0fe 100644 --- a/qw_client/cl_parse.c +++ b/qw_client/cl_parse.c @@ -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"); } }