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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Aug 26 00:59:11 EDT 2009


Author: fruitiex
Date: 2009-08-26 00:59:10 -0400 (Wed, 26 Aug 2009)
New Revision: 7525

Modified:
   trunk/data/qcsrc/server/cl_impulse.qc
   trunk/data/qcsrc/server/ctf.qc
Log:
ctf speedrun impulse fix by TH


Modified: trunk/data/qcsrc/server/cl_impulse.qc
===================================================================
--- trunk/data/qcsrc/server/cl_impulse.qc	2009-08-26 01:15:30 UTC (rev 7524)
+++ trunk/data/qcsrc/server/cl_impulse.qc	2009-08-26 04:59:10 UTC (rev 7525)
@@ -1,5 +1,5 @@
-.vector personal_v_angle; // view angles to restore on impulse 77
-.vector personal_velocity; // velocity to restore on impulse 77
+.vector personal_v_angle; // view angles to restore on reset impulse for CTF speedrun
+.vector personal_velocity; // velocity to restore on reset impulse for CTF speedrun
 
 void CopyBody(float keepvelocity);
 

Modified: trunk/data/qcsrc/server/ctf.qc
===================================================================
--- trunk/data/qcsrc/server/ctf.qc	2009-08-26 01:15:30 UTC (rev 7524)
+++ trunk/data/qcsrc/server/ctf.qc	2009-08-26 04:59:10 UTC (rev 7525)
@@ -360,7 +360,9 @@
 		{
 			bprint("The ", self.netname, " became impatient after ", ftos_decimals(flagcaptimerecord, 2), " seconds and returned itself\n");
 
-			self.owner.impulse = 77; // returning!
+			sound (self, CHAN_TRIGGER, self.noise3, VOL_BASE, ATTN_NONE);
+			self.owner.impulse = 141; // returning!
+
 			e = self;
 			self = self.owner;
 			ReturnFlag(e);



More information about the nexuiz-commits mailing list