r4983 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Nov 4 14:25:48 EST 2008


Author: div0
Date: 2008-11-04 14:25:46 -0500 (Tue, 04 Nov 2008)
New Revision: 4983

Modified:
   trunk/data/qcsrc/server/miscfunctions.qc
Log:
fix hagar and crylink bounce


Modified: trunk/data/qcsrc/server/miscfunctions.qc
===================================================================
--- trunk/data/qcsrc/server/miscfunctions.qc	2008-11-04 17:09:24 UTC (rev 4982)
+++ trunk/data/qcsrc/server/miscfunctions.qc	2008-11-04 19:25:46 UTC (rev 4983)
@@ -1620,7 +1620,7 @@
 	return 0;
 }
 
-#define SUB_OwnerCheck() (other == self.owner)
+#define SUB_OwnerCheck() (other && (other == self.owner))
 
 #define PROJECTILE_TOUCH do { if(SUB_OwnerCheck()) return; if(SUB_NoImpactCheck()) { remove(self); return; } } while(0)
 const string STR_MISC_NULL_WAV = "misc/null.wav";




More information about the nexuiz-commits mailing list