r1920 - trunk/data/qcsrc/server

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


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

Modified:
   trunk/data/qcsrc/server/g_damage.qc
Log:
no -1 for teamchangers


Modified: trunk/data/qcsrc/server/g_damage.qc
===================================================================
--- trunk/data/qcsrc/server/g_damage.qc	2006-11-09 20:20:46 UTC (rev 1919)
+++ trunk/data/qcsrc/server/g_damage.qc	2006-11-10 19:44:15 UTC (rev 1920)
@@ -157,9 +157,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