r3428 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Feb 25 15:06:51 EST 2008


Author: div0
Date: 2008-02-25 15:06:50 -0500 (Mon, 25 Feb 2008)
New Revision: 3428

Modified:
   trunk/data/qcsrc/server/ctf.qc
Log:
fix .enemy multi-use introduced by the flag lists


Modified: trunk/data/qcsrc/server/ctf.qc
===================================================================
--- trunk/data/qcsrc/server/ctf.qc	2008-02-25 20:03:13 UTC (rev 3427)
+++ trunk/data/qcsrc/server/ctf.qc	2008-02-25 20:06:50 UTC (rev 3428)
@@ -1,4 +1,4 @@
-
+.entity sprite;
 entity flaglist; // CTF flags in the map
 
 .float next_take_time;			// the next time a player can pick up a flag (time + blah)
@@ -506,7 +506,7 @@
 	if(!self.noalign)
 		droptofloor();
 
-	WaypointSprite_SpawnFixed("redbase", self.origin + '0 0 37', self, enemy);
+	WaypointSprite_SpawnFixed("redbase", self.origin + '0 0 37', self, sprite);
 };
 
 /*QUAKED item_flag_team2 (0 0.5 0.8) (-48 -48 -24) (48 48 64)
@@ -569,7 +569,7 @@
 	if(!self.noalign)
 		droptofloor();
 
-	WaypointSprite_SpawnFixed("bluebase", self.origin + '0 0 37', self, enemy);
+	WaypointSprite_SpawnFixed("bluebase", self.origin + '0 0 37', self, sprite);
 };
 
 




More information about the nexuiz-commits mailing list