]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
what the crap? WHY OH WHY are the teams even forced in campaign?
authorFruitieX <fruitiex@gmail.com>
Sun, 5 Dec 2010 22:29:28 +0000 (00:29 +0200)
committerFruitieX <fruitiex@gmail.com>
Sun, 5 Dec 2010 22:29:28 +0000 (00:29 +0200)
qcsrc/server/teamplay.qc

index d47115e8fe6cf37f67ce3d005460d45f5e708521..83c494d0982ea0c6f252d44c57508a5b6dee8791 100644 (file)
@@ -629,11 +629,7 @@ void CheckAllowedTeams (entity for_whom)
        c1 = c2 = c3 = c4 = -1;
        cb1 = cb2 = cb3 = cb4 = 0;
 
-       if(autocvar_g_campaign && for_whom && clienttype(for_whom) == CLIENTTYPE_REAL)
-       {
-               c1 = 0; // only allow RED team for player joining
-       }
-       else if(g_onslaught)
+       if(g_onslaught)
        {
                // onslaught is special
                head = findchain(classname, "onslaught_generator");