r5677 - in trunk/data/qcsrc: client server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Jan 27 08:27:11 EST 2009


Author: div0
Date: 2009-01-27 08:27:10 -0500 (Tue, 27 Jan 2009)
New Revision: 5677

Modified:
   trunk/data/qcsrc/client/Main.qc
   trunk/data/qcsrc/server/cl_client.qc
Log:
try to fix the previous commit


Modified: trunk/data/qcsrc/client/Main.qc
===================================================================
--- trunk/data/qcsrc/client/Main.qc	2009-01-27 13:21:55 UTC (rev 5676)
+++ trunk/data/qcsrc/client/Main.qc	2009-01-27 13:27:10 UTC (rev 5677)
@@ -657,6 +657,7 @@
 void Ent_ScoresInfo()
 {
 	float i;
+	self.classname = "ent_client_scores_info";
 	gametype = ReadByte();
 	for(i = 0; i < MAX_SCORE; ++i)
 	{

Modified: trunk/data/qcsrc/server/cl_client.qc
===================================================================
--- trunk/data/qcsrc/server/cl_client.qc	2009-01-27 13:21:55 UTC (rev 5676)
+++ trunk/data/qcsrc/server/cl_client.qc	2009-01-27 13:27:10 UTC (rev 5677)
@@ -827,13 +827,13 @@
 {
 	float i;
 	WriteByte(MSG_ENTITY, ENT_CLIENT_INIT);
-	WriteShort(MSG_ONE, CSQC_REVISION);
-	WriteByte(MSG_ONE, maxclients);
+	WriteShort(MSG_ENTITY, CSQC_REVISION);
+	WriteByte(MSG_ENTITY, maxclients);
 	for(i = 1; i <= 24; ++i)
-		WriteByte(MSG_ONE, (get_weaponinfo(i)).impulse + 1);
-	WriteCoord(MSG_ONE, hook_shotorigin_x);
-	WriteCoord(MSG_ONE, hook_shotorigin_y);
-	WriteCoord(MSG_ONE, hook_shotorigin_z);
+		WriteByte(MSG_ENTITY, (get_weaponinfo(i)).impulse + 1);
+	WriteCoord(MSG_ENTITY, hook_shotorigin_x);
+	WriteCoord(MSG_ENTITY, hook_shotorigin_y);
+	WriteCoord(MSG_ENTITY, hook_shotorigin_z);
 	return TRUE;
 }
 




More information about the nexuiz-commits mailing list