From 2e61dac2588e31526ef411b7c4e19d96a7aa1fbf Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 27 Apr 2000 10:56:31 +0000 Subject: [PATCH] casue autoexec.cfg to be executed in the new gamedir (after frontend.cfg) also, clean up quakefs.c a little (minor) --- common/quakefs.c | 2 +- qw_client/cl_parse.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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"); } }