r5790 - in trunk/data/qcsrc: client server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri Feb 6 15:47:46 EST 2009
Author: div0
Date: 2009-02-06 15:47:45 -0500 (Fri, 06 Feb 2009)
New Revision: 5790
Modified:
trunk/data/qcsrc/client/Main.qc
trunk/data/qcsrc/server/cl_client.qc
Log:
remove duplicate sending of maxclients (client has it anyway)
Modified: trunk/data/qcsrc/client/Main.qc
===================================================================
--- trunk/data/qcsrc/client/Main.qc 2009-02-06 15:36:07 UTC (rev 5789)
+++ trunk/data/qcsrc/client/Main.qc 2009-02-06 20:47:45 UTC (rev 5790)
@@ -851,9 +851,6 @@
csqc_revision = ReadShort();
- print("prev maxclients = ", ftos(maxclients), "\n");
- maxclients = ReadByte();
- print("new maxclients = ", ftos(maxclients), "\n");
for(i = 0; i < 24; ++i)
weaponimpulse[i] = ReadByte() - 1;
hook_shotorigin_x = ReadCoord();
Modified: trunk/data/qcsrc/server/cl_client.qc
===================================================================
--- trunk/data/qcsrc/server/cl_client.qc 2009-02-06 15:36:07 UTC (rev 5789)
+++ trunk/data/qcsrc/server/cl_client.qc 2009-02-06 20:47:45 UTC (rev 5790)
@@ -902,7 +902,6 @@
float i;
WriteByte(MSG_ENTITY, ENT_CLIENT_INIT);
WriteShort(MSG_ENTITY, CSQC_REVISION);
- WriteByte(MSG_ENTITY, maxclients);
for(i = 1; i <= 24; ++i)
WriteByte(MSG_ENTITY, (get_weaponinfo(i)).impulse + 1);
WriteCoord(MSG_ENTITY, hook_shotorigin_x);
More information about the nexuiz-commits
mailing list