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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Mar 26 12:27:08 EDT 2009


Author: div0
Date: 2009-03-26 12:27:08 -0400 (Thu, 26 Mar 2009)
New Revision: 6307

Modified:
   trunk/data/qcsrc/server/miscfunctions.qc
Log:
if g_jetpack, set some starting cells


Modified: trunk/data/qcsrc/server/miscfunctions.qc
===================================================================
--- trunk/data/qcsrc/server/miscfunctions.qc	2009-03-26 16:26:25 UTC (rev 6306)
+++ trunk/data/qcsrc/server/miscfunctions.qc	2009-03-26 16:27:08 UTC (rev 6307)
@@ -948,7 +948,14 @@
 	}
 
 	if(g_jetpack)
+	{
+		if(!start_ammo_cells)
+			start_ammo_cells = g_pickup_cells;
+		if(!warmup_start_ammo_cells)
+			warmup_start_ammo_cells = g_pickup_cells;
+
 		g_grappling_hook = 0; // these two can't coexist, as they use the same button
+	}
 
 	if(g_weapon_stay == 2)
 	{



More information about the nexuiz-commits mailing list