From: Mario Date: Wed, 17 Dec 2014 17:06:19 +0000 (+1100) Subject: Also check for overkill when adding weapons mapinfo feature X-Git-Tag: xonotic-v0.8.0~70^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ecd3efc0ae9a62bdc8606d88fbe62bddab1a6b9d;p=xonotic%2Fxonotic-data.pk3dir.git Also check for overkill when adding weapons mapinfo feature --- diff --git a/qcsrc/common/mapinfo.qc b/qcsrc/common/mapinfo.qc index 2230d5c79..ccf02e71d 100644 --- a/qcsrc/common/mapinfo.qc +++ b/qcsrc/common/mapinfo.qc @@ -1233,7 +1233,7 @@ float MapInfo_CurrentFeatures() { float req; req = 0; - if(!(cvar("g_lms") || cvar("g_instagib") || cvar("g_nix") || cvar("g_weaponarena") || !cvar("g_pickup_items") || cvar("g_race") || cvar("g_cts") || cvar("g_nexball"))) + if(!(cvar("g_lms") || cvar("g_instagib") || cvar("g_overkill") || cvar("g_nix") || cvar("g_weaponarena") || !cvar("g_pickup_items") || cvar("g_race") || cvar("g_cts") || cvar("g_nexball"))) req |= MAPINFO_FEATURE_WEAPONS; return req; }