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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Apr 2 04:49:11 EDT 2009


Author: div0
Date: 2009-04-02 04:49:10 -0400 (Thu, 02 Apr 2009)
New Revision: 6407

Modified:
   trunk/data/qcsrc/server/waypointsprites.qc
Log:
fix a tiny waypointsprite interpolation bug


Modified: trunk/data/qcsrc/server/waypointsprites.qc
===================================================================
--- trunk/data/qcsrc/server/waypointsprites.qc	2009-04-02 06:17:02 UTC (rev 6406)
+++ trunk/data/qcsrc/server/waypointsprites.qc	2009-04-02 08:49:10 UTC (rev 6407)
@@ -242,7 +242,10 @@
 	wp.health = lifetime;
 	wp.exteriormodeltoclient = ref;
 	if(ref)
+	{
 		wp.view_ofs = ofs;
+		setorigin(wp, ref.origin + ofs);
+	}
 	else
 		setorigin(wp, ofs);
 	wp.enemy = showto;



More information about the nexuiz-commits mailing list