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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Sep 8 11:21:25 EDT 2009


Author: div0
Date: 2009-09-08 11:21:24 -0400 (Tue, 08 Sep 2009)
New Revision: 7696

Modified:
   trunk/data/qcsrc/server/g_damage.qc
Log:
do not switch weapon after suicide (respawn will do anyway)


Modified: trunk/data/qcsrc/server/g_damage.qc
===================================================================
--- trunk/data/qcsrc/server/g_damage.qc	2009-09-08 14:48:31 UTC (rev 7695)
+++ trunk/data/qcsrc/server/g_damage.qc	2009-09-08 15:21:24 UTC (rev 7696)
@@ -123,6 +123,7 @@
 		if(cvar("g_arena_roundbased"))
 			return;
 
+	if(targ != attacker) // not for suicides
 	if(g_weaponarena_random)
 	{
 		// after a frag, choose another random weapon set



More information about the nexuiz-commits mailing list