From fe0961f9fd1989fc5df59f24ae856406a3988c0e Mon Sep 17 00:00:00 2001 From: div0 Date: Fri, 25 Aug 2006 22:53:19 +0000 Subject: [PATCH] remove stuffing of the CONTENTS of mapname.cfg: not needed any more (current map download system doesn't need it to make cd tracks work) git-svn-id: svn://svn.icculus.org/nexuiz/trunk@1856 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/qcsrc/server/cl_client.qc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/data/qcsrc/server/cl_client.qc b/data/qcsrc/server/cl_client.qc index 93ae6be06..72e6d5167 100644 --- a/data/qcsrc/server/cl_client.qc +++ b/data/qcsrc/server/cl_client.qc @@ -712,6 +712,7 @@ void ClientConnect (void) self.welcomemessage_time = time + cvar("welcome_message_time"); self.welcomemessage_time2 = 0; + /* // the client might not have his maps/%s.cfg file yet! // so send the one from the server... fh = fopen(strcat("maps/", mapname, ".cfg"), FILE_READ); @@ -722,6 +723,10 @@ void ClientConnect (void) fclose(fh); } // and then execute the client's so he can still override CD tracks + + not needed any more: current map download system disconnects and reconnects + after the download, and then the file will be there + */ stuffcmd(self, strcat("exec maps/", mapname, ".cfg\n")); // TODO: is this being used for anything else than cd tracks? -- 2.39.2