r3935 - trunk/data/qcsrc/common

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Jul 26 15:44:34 EDT 2008


Author: div0
Date: 2008-07-26 15:44:34 -0400 (Sat, 26 Jul 2008)
New Revision: 3935

Modified:
   trunk/data/qcsrc/common/mapinfo.qc
Log:
fix fraglimit from mapinfo for CTF


Modified: trunk/data/qcsrc/common/mapinfo.qc
===================================================================
--- trunk/data/qcsrc/common/mapinfo.qc	2008-07-26 19:34:51 UTC (rev 3934)
+++ trunk/data/qcsrc/common/mapinfo.qc	2008-07-26 19:44:34 UTC (rev 3935)
@@ -504,7 +504,8 @@
 	if(pWantedType == MAPINFO_TYPE_CTF)
 	{
 		sa = car(s); if(sa == "") sa = "10";
-		cvar_set("capturelimit", sa);
+		if(cvar("g_ctf_win_mode") != 2)
+			cvar_set("fraglimit", sa);
 		s = cdr(s);
 	}
 }




More information about the nexuiz-commits mailing list