r1856 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri Aug 25 18:53:19 EDT 2006
Author: div0
Date: 2006-08-25 18:53:19 -0400 (Fri, 25 Aug 2006)
New Revision: 1856
Modified:
trunk/data/qcsrc/server/cl_client.qc
Log:
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)
Modified: trunk/data/qcsrc/server/cl_client.qc
===================================================================
--- trunk/data/qcsrc/server/cl_client.qc 2006-08-25 18:26:09 UTC (rev 1855)
+++ trunk/data/qcsrc/server/cl_client.qc 2006-08-25 22:53:19 UTC (rev 1856)
@@ -712,6 +712,7 @@
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 @@
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?
More information about the nexuiz-commits
mailing list