]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Also disable pinata and weaponstay in weaponarena mode: pinata doesn't work as weapon...
authorterencehill <piuntn@gmail.com>
Wed, 1 Feb 2012 16:40:31 +0000 (17:40 +0100)
committerterencehill <piuntn@gmail.com>
Wed, 1 Feb 2012 16:40:31 +0000 (17:40 +0100)
qcsrc/server/miscfunctions.qc

index bbee72a732086cd2ac9034f2f97899b9de76da67..69900230a49a10cdd565b7fde3bfab74eea987eb 100644 (file)
@@ -898,6 +898,8 @@ void readplayerstartcvars()
        if (g_weaponarena)
        {
                g_minstagib = 0; // incompatible
+               g_pinata = 0; // incompatible
+               g_weapon_stay = 0; // incompatible
                start_weapons = g_weaponarena;
                if(!(g_lms || g_ca))
                        start_items |= IT_UNLIMITED_AMMO;