[nexuiz-commits] r7330 - trunk/data/qcsrc/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Aug 4 10:09:53 EDT 2009


Author: div0
Date: 2009-08-04 10:09:52 -0400 (Tue, 04 Aug 2009)
New Revision: 7330

Modified:
   trunk/data/qcsrc/client/projectile.qc
Log:
tiny projectile trail fix


Modified: trunk/data/qcsrc/client/projectile.qc
===================================================================
--- trunk/data/qcsrc/client/projectile.qc	2009-08-04 13:57:55 UTC (rev 7329)
+++ trunk/data/qcsrc/client/projectile.qc	2009-08-04 14:09:52 UTC (rev 7330)
@@ -238,7 +238,8 @@
 			self.move_velocity = self.velocity;
 		}
 
-		self.trail_oldorigin = self.origin;
+		if(time == self.spawntime || self.count & 0x80)
+			self.trail_oldorigin = self.origin;
 	}
 
 	if(f & 2)



More information about the nexuiz-commits mailing list