r3600 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Apr 29 15:36:24 EDT 2008


Author: div0
Date: 2008-04-29 15:36:24 -0400 (Tue, 29 Apr 2008)
New Revision: 3600

Modified:
   trunk/data/qcsrc/server/g_damage.qc
Log:
possibly yoda fix?


Modified: trunk/data/qcsrc/server/g_damage.qc
===================================================================
--- trunk/data/qcsrc/server/g_damage.qc	2008-04-27 19:18:10 UTC (rev 3599)
+++ trunk/data/qcsrc/server/g_damage.qc	2008-04-29 19:36:24 UTC (rev 3600)
@@ -456,7 +456,7 @@
 			else if (deathtype == IT_NEX && targ.items & IT_STRENGTH)
 			{
 				if(clienttype(attacker) == CLIENTTYPE_REAL)
-					if(IsDifferentTeam(self, attacker))
+					if(IsDifferentTeam(targ, attacker))
 						yoda = 1;
 			}
 			if (deathtype == IT_LASER)
@@ -477,7 +477,7 @@
 			if (!targ.deadflag)
 				if(targ.takedamage == DAMAGE_AIM)
 					if(IsFlying(targ))
-						if(IsDifferentTeam(self, targ))
+						if(IsDifferentTeam(targ, attacker))
 							yoda = 1;
 		}
 




More information about the nexuiz-commits mailing list