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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Sep 14 08:29:47 EDT 2009


Author: div0
Date: 2009-09-14 08:29:47 -0400 (Mon, 14 Sep 2009)
New Revision: 7784

Modified:
   trunk/data/qcsrc/server/g_damage.qc
Log:
only apply radius damage if takedamage (NOT FOR 2.5.2)


Modified: trunk/data/qcsrc/server/g_damage.qc
===================================================================
--- trunk/data/qcsrc/server/g_damage.qc	2009-09-14 12:28:57 UTC (rev 7783)
+++ trunk/data/qcsrc/server/g_damage.qc	2009-09-14 12:29:47 UTC (rev 7784)
@@ -1044,7 +1044,7 @@
 	{
 		next = targ.chain;
 		if (targ != inflictor)
-			if (ignore != targ)
+			if (ignore != targ) if(targ.takedamage)
 			{
 				// LordHavoc: measure distance to nearest point on target (not origin)
 				// (this guarentees 100% damage on a touch impact)



More information about the nexuiz-commits mailing list