[nexuiz-commits] r7137 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Jul 1 14:31:00 EDT 2009


Author: div0
Date: 2009-07-01 14:30:59 -0400 (Wed, 01 Jul 2009)
New Revision: 7137

Modified:
   trunk/data/qcsrc/server/cl_client.qc
Log:
fix uncustomizing player entities


Modified: trunk/data/qcsrc/server/cl_client.qc
===================================================================
--- trunk/data/qcsrc/server/cl_client.qc	2009-06-30 20:53:56 UTC (rev 7136)
+++ trunk/data/qcsrc/server/cl_client.qc	2009-07-01 18:30:59 UTC (rev 7137)
@@ -396,6 +396,8 @@
 */
 void Client_uncustomizeentityforclient()
 {
+	if(self.modelindex == 0) // no need to uncustomize then
+		return;
 	self.modelindex = self.modelindex_lod0;
 	self.skin = self.skinindex;
 }



More information about the nexuiz-commits mailing list