r4952 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Oct 31 10:28:30 EDT 2008


Author: div0
Date: 2008-10-31 10:28:27 -0400 (Fri, 31 Oct 2008)
New Revision: 4952

Modified:
   trunk/data/qcsrc/server/cl_client.qc
Log:
I have no idea why this happens, but get rid of the damn crash


Modified: trunk/data/qcsrc/server/cl_client.qc
===================================================================
--- trunk/data/qcsrc/server/cl_client.qc	2008-10-31 13:42:54 UTC (rev 4951)
+++ trunk/data/qcsrc/server/cl_client.qc	2008-10-31 14:28:27 UTC (rev 4952)
@@ -1345,7 +1345,8 @@
 	self.nextthink = time;
 	if (!self.owner.modelindex || self.owner.chatbubbleentity != self)
 	{
-		self.owner.chatbubbleentity = world;
+		if(self.owner) // but why can that ever be world?
+			self.owner.chatbubbleentity = world;
 		remove(self);
 		return;
 	}
@@ -1382,7 +1383,8 @@
 	self.nextthink = time;
 	if (!self.owner.modelindex || self.owner.teambubbleentity != self)
 	{
-		self.owner.teambubbleentity = world;
+		if(self.owner) // but why can that ever be world?
+			self.owner.teambubbleentity = world;
 		remove(self);
 		return;
 	}




More information about the nexuiz-commits mailing list