]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
CheckAllowedTeams isn't needed in these cases
authorterencehill <piuntn@gmail.com>
Fri, 14 Jun 2013 15:13:29 +0000 (17:13 +0200)
committerterencehill <piuntn@gmail.com>
Fri, 14 Jun 2013 15:13:29 +0000 (17:13 +0200)
qcsrc/server/scores_rules.qc

index d75cf0443ed4cf1d419d86a6c2e72a64fc5feefa..e3649f611b0df0d7188028d9b8e885157a4c809e 100644 (file)
@@ -106,19 +106,17 @@ void ScoreRules_nexball(float teams)
        ScoreRules_basics_end();
 }
 
-// FreezeTag stuff
 #define SP_FREEZETAG_REVIVALS 4
 void ScoreRules_freezetag(float teams)
 {
-       CheckAllowedTeams(world);
        ScoreRules_basics(teams, SFL_SORT_PRIO_PRIMARY, SFL_SORT_PRIO_PRIMARY, TRUE); // SFL_SORT_PRIO_PRIMARY
        ScoreInfo_SetLabel_PlayerScore(SP_FREEZETAG_REVIVALS,           "revivals",             0);
        ScoreRules_basics_end();
 }
+
 #define ST_CA_ROUNDS 1
 void ScoreRules_ca(float teams)
 {
-       CheckAllowedTeams(world);
        ScoreRules_basics(teams, SFL_SORT_PRIO_PRIMARY, 0, TRUE);
        ScoreInfo_SetLabel_TeamScore(ST_CA_ROUNDS, "rounds", SFL_SORT_PRIO_PRIMARY);
        ScoreRules_basics_end();