r1921 - branches/nexuiz-2.0/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Nov 10 14:44:27 EST 2006


Author: div0
Date: 2006-11-10 14:44:27 -0500 (Fri, 10 Nov 2006)
New Revision: 1921

Modified:
   branches/nexuiz-2.0/data/qcsrc/server/g_damage.qc
Log:
no -1 for teamchangers


Modified: branches/nexuiz-2.0/data/qcsrc/server/g_damage.qc
===================================================================
--- branches/nexuiz-2.0/data/qcsrc/server/g_damage.qc	2006-11-10 19:44:15 UTC (rev 1920)
+++ branches/nexuiz-2.0/data/qcsrc/server/g_damage.qc	2006-11-10 19:44:27 UTC (rev 1921)
@@ -156,9 +156,10 @@
 				bprint ("^1",s, "^1 couldn't resist the urge to self-destruct\n");
 
 			if(deathtype != DEATH_TEAMCHANGE)
+			{
 				LogDeath("suicide", deathtype, targ, targ);
-
-			GiveFrags(attacker, targ, -1);
+				GiveFrags(attacker, targ, -1);
+			}
 			//targ.frags = targ.frags - 1;
 			if (targ.killcount > 2)
 				bprint ("^1",s,"^1 ended it all with a ",ftos(targ.killcount)," kill spree\n");




More information about the nexuiz-commits mailing list