r1838 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Aug 21 17:06:37 EDT 2006


Author: esteel
Date: 2006-08-21 17:06:37 -0400 (Mon, 21 Aug 2006)
New Revision: 1838

Modified:
   trunk/data/qcsrc/server/ctf.qc
Log:
changed find to always find the first flag per team


Modified: trunk/data/qcsrc/server/ctf.qc
===================================================================
--- trunk/data/qcsrc/server/ctf.qc	2006-08-21 19:14:26 UTC (rev 1837)
+++ trunk/data/qcsrc/server/ctf.qc	2006-08-21 21:06:37 UTC (rev 1838)
@@ -595,9 +595,9 @@
 
 	if (cvar("g_ctf")) {
 		local entity flag;
-		flag = find(flag, classname, "item_flag_team1");
+		flag = find(world, classname, "item_flag_team1");
 		ctf_setstatus2(flag);
-		flag = find(flag, classname, "item_flag_team2");
+		flag = find(world, classname, "item_flag_team2");
 		ctf_setstatus2(flag);
 	}
 };




More information about the nexuiz-commits mailing list