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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Jun 1 11:39:48 EDT 2009


Author: div0
Date: 2009-06-01 11:39:48 -0400 (Mon, 01 Jun 2009)
New Revision: 6837

Modified:
   trunk/data/qcsrc/server/mode_onslaught.qc
Log:
fix CP rotation


Modified: trunk/data/qcsrc/server/mode_onslaught.qc
===================================================================
--- trunk/data/qcsrc/server/mode_onslaught.qc	2009-06-01 15:32:54 UTC (rev 6836)
+++ trunk/data/qcsrc/server/mode_onslaught.qc	2009-06-01 15:39:48 UTC (rev 6837)
@@ -1104,8 +1104,9 @@
 	else
 		self.punchangle_z = 0;
 	self.angles_x = self.punchangle_x;
-	self.angles_y = self.punchangle_y;
+	self.angles_y = self.punchangle_y + self.mangle_y;
 	self.angles_z = self.punchangle_z;
+	self.mangle_y = self.mangle_y + 1.5;
 
 	self.cp_bob_origin_z = 4 * PI * (1 - cos(self.cp_bob_spd / 8));
 	self.cp_bob_spd = self.cp_bob_spd + 0.5;



More information about the nexuiz-commits mailing list