r4673 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Oct 8 12:00:19 EDT 2008


Author: div0
Date: 2008-10-08 12:00:18 -0400 (Wed, 08 Oct 2008)
New Revision: 4673

Modified:
   trunk/data/qcsrc/server/t_teleporters.qc
Log:
same bug again


Modified: trunk/data/qcsrc/server/t_teleporters.qc
===================================================================
--- trunk/data/qcsrc/server/t_teleporters.qc	2008-10-08 15:57:36 UTC (rev 4672)
+++ trunk/data/qcsrc/server/t_teleporters.qc	2008-10-08 16:00:18 UTC (rev 4673)
@@ -161,14 +161,14 @@
 {
 	self.angles = '0 0 0';
 
-	EXACTTRIGGER_INIT;
-
 	if (!self.target)
 	{
 		objerror ("Teleporter with no target");
 		return;
 	}
 
+	EXACTTRIGGER_INIT;
+
 	// this must be called to spawn the teleport waypoints for bots
 	InitializeEntity(self, teleport_findtarget, INITPRIO_FINDTARGET);
 }




More information about the nexuiz-commits mailing list