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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Oct 11 12:06:46 EDT 2009


Author: div0
Date: 2009-10-11 12:06:44 -0400 (Sun, 11 Oct 2009)
New Revision: 8105

Modified:
   trunk/data/qcsrc/server/race.qc
Log:
race: STRICTTRIGGER spawnflag: still forward trigger events from anything but players unconditionally (so dropped weapons can be killed)


Modified: trunk/data/qcsrc/server/race.qc
===================================================================
--- trunk/data/qcsrc/server/race.qc	2009-10-11 15:59:58 UTC (rev 8104)
+++ trunk/data/qcsrc/server/race.qc	2009-10-11 16:06:44 UTC (rev 8105)
@@ -343,7 +343,7 @@
 	/*
 	 * Trigger targets
 	 */
-	if not(self.spawnflags & 2)
+	if not((self.spawnflags & 2) && (other.classname == "player"))
 	{
 		activator = other;
 		oldmsg = self.message;



More information about the nexuiz-commits mailing list