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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Aug 25 20:56:41 EDT 2009


Author: mand1nga
Date: 2009-08-25 20:56:41 -0400 (Tue, 25 Aug 2009)
New Revision: 7523

Modified:
   trunk/data/qcsrc/server/w_common.qc
Log:
Fixed tracking of stats in warmup stage

Modified: trunk/data/qcsrc/server/w_common.qc
===================================================================
--- trunk/data/qcsrc/server/w_common.qc	2009-08-26 00:41:18 UTC (rev 7522)
+++ trunk/data/qcsrc/server/w_common.qc	2009-08-26 00:56:41 UTC (rev 7523)
@@ -215,6 +215,7 @@
 		}
 
 		//calculate hits for ballistic weapons
+		if not(inWarmupStage)
 		if not(self.owner.isbot)
 		{
 			if(hit)
@@ -379,6 +380,7 @@
 	proj.oldvelocity = proj.velocity;
 
 	//calculate fired bullets for ballistics
+	if not(inWarmupStage)
 	if not(self.isbot)
 	{
 		self.bullets_fired[self.weapon] += 1;
@@ -423,6 +425,7 @@
 			self.velocity = v0;
 			self.gravity = g0;
 
+			if not(inWarmupStage)
 			if not(self.isbot)
 			{
 				self.bullets_fired[self.weapon] += 1;



More information about the nexuiz-commits mailing list