[nexuiz-commits] r8644 - in trunk/data/qcsrc: client server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Feb 13 11:01:10 EST 2010


Author: div0
Date: 2010-02-13 11:01:09 -0500 (Sat, 13 Feb 2010)
New Revision: 8644

Modified:
   trunk/data/qcsrc/client/projectile.qc
   trunk/data/qcsrc/server/csqcprojectile.qc
Log:
fix rocket trail throgh portal

Modified: trunk/data/qcsrc/client/projectile.qc
===================================================================
--- trunk/data/qcsrc/client/projectile.qc	2010-02-13 14:31:38 UTC (rev 8643)
+++ trunk/data/qcsrc/client/projectile.qc	2010-02-13 16:01:09 UTC (rev 8644)
@@ -215,8 +215,11 @@
 			self.move_velocity = self.velocity;
 		}
 
-		if(time == self.spawntime || (self.count & 0x80) || (f & 0x20))
+		if(time == self.spawntime || (self.count & 0x80) || (f & 0x10))
+		{
+			print("TELE\n");
 			self.trail_oldorigin = self.origin;
+		}
 
 		if(f & 0x20)
 		{

Modified: trunk/data/qcsrc/server/csqcprojectile.qc
===================================================================
--- trunk/data/qcsrc/server/csqcprojectile.qc	2010-02-13 14:31:38 UTC (rev 8643)
+++ trunk/data/qcsrc/server/csqcprojectile.qc	2010-02-13 16:01:09 UTC (rev 8644)
@@ -4,7 +4,7 @@
 {
 	float ft, fr;
 
-	// note: flag 0x20 = no trail please
+	// note: flag 0x10 = no trail please
 	sf = sf & 0x1F;
 
 	if(self.csqcprojectile_clientanimate)
@@ -94,7 +94,7 @@
 	if(e.SendEntity == CSQCProjectile_SendEntity)
 	{
 		// send new origin data and mark as teleported
-		e.SendFlags |= 0x21;
+		e.SendFlags |= 0x11;
 	}
 }
 



More information about the nexuiz-commits mailing list