Add a debug option to weaponarena for all weapons (even mutator blocked ones)
authorMario <mario@smbclan.net>
Mon, 26 Dec 2016 12:30:09 +0000 (22:30 +1000)
committerMario <mario@smbclan.net>
Mon, 26 Dec 2016 12:30:09 +0000 (22:30 +1000)
qcsrc/server/miscfunctions.qc

index e88ef02..4035220 100644 (file)
@@ -566,6 +566,15 @@ void readplayerstartcvars()
                                g_weaponarena_weapons |= (it.m_wepset);
                ));
        }
+       else if (s == "devall")
+       {
+               g_weaponarena = 1;
+               g_weaponarena_list = "All Weapons"; // TODO: report as more than just all weapons?
+               FOREACH(Weapons, it != WEP_Null,
+               {
+                       g_weaponarena_weapons |= (it.m_wepset);
+               });
+       }
        else if (s == "most")
        {
                g_weaponarena = 1;