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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Jun 23 15:42:20 EDT 2009


Author: div0
Date: 2009-06-23 15:42:20 -0400 (Tue, 23 Jun 2009)
New Revision: 7088

Modified:
   trunk/data/qcsrc/server/waypointsprites.qc
Log:
rename another field


Modified: trunk/data/qcsrc/server/waypointsprites.qc
===================================================================
--- trunk/data/qcsrc/server/waypointsprites.qc	2009-06-23 19:41:19 UTC (rev 7087)
+++ trunk/data/qcsrc/server/waypointsprites.qc	2009-06-23 19:42:20 UTC (rev 7088)
@@ -203,7 +203,7 @@
 	{
 		WriteCoord(MSG_ENTITY, self.fade_time);
 		WriteCoord(MSG_ENTITY, self.teleport_time);
-		WriteShort(MSG_ENTITY, self.max_health); // maxdist
+		WriteShort(MSG_ENTITY, self.fade_rate); // maxdist
 		float f;
 		f = 0;
 		if(self.currentammo)
@@ -265,7 +265,7 @@
 		own.ownfield = wp;
 		wp.owned_by_field = ownfield;
 	}
-	wp.max_health = maxdistance;
+	wp.fade_rate = maxdistance;
 	wp.think = WaypointSprite_Think;
 	wp.nextthink = time;
 	wp.model1 = spr;



More information about the nexuiz-commits mailing list