[nexuiz-commits] r8333 - trunk/data/qcsrc/common

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Nov 29 08:47:56 EST 2009


Author: div0
Date: 2009-11-29 08:47:56 -0500 (Sun, 29 Nov 2009)
New Revision: 8333

Modified:
   trunk/data/qcsrc/common/mapinfo.qc
Log:
remove some undefined cvar accessing


Modified: trunk/data/qcsrc/common/mapinfo.qc
===================================================================
--- trunk/data/qcsrc/common/mapinfo.qc	2009-11-29 13:40:59 UTC (rev 8332)
+++ trunk/data/qcsrc/common/mapinfo.qc	2009-11-29 13:47:56 UTC (rev 8333)
@@ -952,7 +952,7 @@
 {
 	float req;
 	req = 0;
-	if(!(cvar("g_lms") || cvar("g_instagib") || cvar("g_minstagib") || cvar("g_nixnex") || cvar("g_rocketarena") || !cvar("g_pickup_items") || cvar("g_race") || cvar("g_cts") || cvar("g_nexball")))
+	if(!(cvar("g_lms") || cvar("g_minstagib") || cvar("g_nixnex") || cvar("g_weaponarena") || !cvar("g_pickup_items") || cvar("g_race") || cvar("g_cts") || cvar("g_nexball")))
 		req |= MAPINFO_FEATURE_WEAPONS;
 	return req;
 }



More information about the nexuiz-commits mailing list