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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Apr 26 09:00:30 EDT 2009


Author: mrbougo
Date: 2009-04-26 09:00:28 -0400 (Sun, 26 Apr 2009)
New Revision: 6596

Modified:
   trunk/data/qcsrc/server/miscfunctions.qc
Log:
woops, I did it wrong :P

Modified: trunk/data/qcsrc/server/miscfunctions.qc
===================================================================
--- trunk/data/qcsrc/server/miscfunctions.qc	2009-04-26 12:52:51 UTC (rev 6595)
+++ trunk/data/qcsrc/server/miscfunctions.qc	2009-04-26 13:00:28 UTC (rev 6596)
@@ -886,7 +886,9 @@
 					t = (e.spawnflags & WEPSPAWNFLAG_NORMAL);
 				else if(g_race)
 					t = (i == WEP_LASER);
-				else if(!g_nexball)
+				else if(g_nexball)
+					t = 0; //GL is set a few lines later
+				else
 					t = (i == WEP_LASER || i == WEP_SHOTGUN);
 				if(g_grappling_hook) // if possible, redirect off-hand hook to on-hand hook
 					t += (i == WEP_HOOK);



More information about the nexuiz-commits mailing list