]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Also check for overkill when adding weapons mapinfo feature
authorMario <zacjardine@y7mail.com>
Wed, 17 Dec 2014 17:06:19 +0000 (04:06 +1100)
committerMario <zacjardine@y7mail.com>
Wed, 17 Dec 2014 17:06:19 +0000 (04:06 +1100)
qcsrc/common/mapinfo.qc

index 2230d5c790385c0823b1184101395f4edf95396e..ccf02e71d821387f886f6c49da96c3a77564e13a 100644 (file)
@@ -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;
 }