r1839 - branches/nexuiz-2.0/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Aug 21 17:07:30 EDT 2006


Author: esteel
Date: 2006-08-21 17:07:30 -0400 (Mon, 21 Aug 2006)
New Revision: 1839

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


Modified: branches/nexuiz-2.0/data/qcsrc/server/ctf.qc
===================================================================
--- branches/nexuiz-2.0/data/qcsrc/server/ctf.qc	2006-08-21 21:06:37 UTC (rev 1838)
+++ branches/nexuiz-2.0/data/qcsrc/server/ctf.qc	2006-08-21 21:07:30 UTC (rev 1839)
@@ -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