r4260 - trunk/data/qcsrc/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Aug 30 10:14:31 EDT 2008


Author: div0
Date: 2008-08-30 10:14:30 -0400 (Sat, 30 Aug 2008)
New Revision: 4260

Modified:
   trunk/data/qcsrc/client/laser.qc
Log:
a bit more consistent that way


Modified: trunk/data/qcsrc/client/laser.qc
===================================================================
--- trunk/data/qcsrc/client/laser.qc	2008-08-30 14:13:12 UTC (rev 4259)
+++ trunk/data/qcsrc/client/laser.qc	2008-08-30 14:14:30 UTC (rev 4260)
@@ -109,7 +109,7 @@
 	{
 		Draw_CylindricLine(self.origin, trace_endpos, 2, "particles/laserbeam", 0, time * 3, self.colormod, 0.5, DRAWFLAG_ADDITIVE); // TODO make a texture to make the laser look smoother
 	}
-	if not(trace_dphitq3surfaceflags & Q3SURFACEFLAG_NOIMPACT)
+	if not(trace_dphitq3surfaceflags & (Q3SURFACEFLAG_SKY | Q3SURFACEFLAG_NOIMPACT))
 	{
 		if(self.cnt >= 0)
 			pointparticles(self.cnt, trace_endpos, trace_plane_normal, drawframetime * 1000);




More information about the nexuiz-commits mailing list