r4116 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Aug 12 01:42:04 EDT 2008


Author: div0
Date: 2008-08-12 01:42:03 -0400 (Tue, 12 Aug 2008)
New Revision: 4116

Modified:
   trunk/data/qcsrc/server/cl_client.qc
Log:
fix clientdisconnect crash


Modified: trunk/data/qcsrc/server/cl_client.qc
===================================================================
--- trunk/data/qcsrc/server/cl_client.qc	2008-08-12 05:37:17 UTC (rev 4115)
+++ trunk/data/qcsrc/server/cl_client.qc	2008-08-12 05:42:03 UTC (rev 4116)
@@ -1267,8 +1267,6 @@
 	bot_relinkplayerlist();
 	self.flags = save;
 
-	ReadyCount();
-
 	// remove laserdot
 	if(self.weaponentity)
 		if(self.weaponentity.lasertarget)
@@ -1295,6 +1293,8 @@
 	// free cvars
 	GetCvars(-1);
 	self.playerid = 0;
+
+	ReadyCount();
 }
 
 .float BUTTON_CHAT;




More information about the nexuiz-commits mailing list