From: FruitieX Date: Sun, 5 Dec 2010 22:29:28 +0000 (+0200) Subject: what the crap? WHY OH WHY are the teams even forced in campaign? X-Git-Tag: xonotic-v0.1.0preview~69^2 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=1670a79d57800df804fc80f2723664ec5a699783;hp=2af9a098ed05ca2b37faef8d41fd718227b8b590 what the crap? WHY OH WHY are the teams even forced in campaign? --- diff --git a/qcsrc/server/teamplay.qc b/qcsrc/server/teamplay.qc index d47115e8fe..83c494d098 100644 --- a/qcsrc/server/teamplay.qc +++ b/qcsrc/server/teamplay.qc @@ -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");