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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Mar 28 11:21:12 EDT 2009


Author: div0
Date: 2009-03-28 11:21:12 -0400 (Sat, 28 Mar 2009)
New Revision: 6340

Modified:
   trunk/data/qcsrc/server/cl_client.qc
Log:
shut up about "zero modelindex" if the player is dead and has a zero modelindex for a reason


Modified: trunk/data/qcsrc/server/cl_client.qc
===================================================================
--- trunk/data/qcsrc/server/cl_client.qc	2009-03-28 15:05:39 UTC (rev 6339)
+++ trunk/data/qcsrc/server/cl_client.qc	2009-03-28 15:21:12 UTC (rev 6340)
@@ -622,7 +622,7 @@
 		}
 	}
 
-	if(self.modelindex == 0)
+	if(self.modelindex == 0 && self.deadflag == DEAD_NO)
 	{
 		if(self.model != "")
 			bprint("\{1}^1Player ", self.netname, "^1 has a zero modelindex, trying to fix...\n");



More information about the nexuiz-commits mailing list