r4008 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Aug 3 09:53:23 EDT 2008


Author: div0
Date: 2008-08-03 09:53:23 -0400 (Sun, 03 Aug 2008)
New Revision: 4008

Modified:
   trunk/data/qcsrc/server/cl_client.qc
Log:
MrBougo, try this commit (should fix impulse 13/14 + kill)


Modified: trunk/data/qcsrc/server/cl_client.qc
===================================================================
--- trunk/data/qcsrc/server/cl_client.qc	2008-08-03 13:31:56 UTC (rev 4007)
+++ trunk/data/qcsrc/server/cl_client.qc	2008-08-03 13:53:23 UTC (rev 4008)
@@ -800,6 +800,13 @@
 
 	// in any case:
 	Damage(self, self, self, 100000, DEATH_KILL, self.origin, '0 0 0');
+
+	if(self.killindicator)
+	{
+		dprint("Cleaned up after a leaked kill indicator.\n");
+		remove(self.killindicator);
+		self.killindicator = world;
+	}
 }
 void KillIndicator_Think()
 {




More information about the nexuiz-commits mailing list