]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Removed redundant parentheses.
authorLyberta <lyberta@lyberta.net>
Thu, 3 Aug 2017 07:06:21 +0000 (10:06 +0300)
committerLyberta <lyberta@lyberta.net>
Thu, 3 Aug 2017 07:06:21 +0000 (10:06 +0300)
qcsrc/server/teamplay.qc

index da53e57e54d4a335a7f325964c3ab36ad0570f1a..a8f110b29efcd23c9714bcc47ae3c43b38733622 100644 (file)
@@ -561,7 +561,7 @@ bool IsTeamSmallerThanTeam(int teama, int teamb, entity e, bool usescore)
        if (numplayersteama < 0 || numplayersteamb < 0)
                return false;
 
-       if ((IS_REAL_CLIENT(e) && bots_would_leave))
+       if (IS_REAL_CLIENT(e) && bots_would_leave)
        {
                numplayersteama -= numbotsteama;
                numplayersteamb -= numbotsteamb;
@@ -612,7 +612,7 @@ bool IsTeamEqualToTeam(int teama, int teamb, entity e, bool usescore)
        if (numplayersteama < 0 || numplayersteamb < 0)
                return false;
 
-       if ((IS_REAL_CLIENT(e) && bots_would_leave))
+       if (IS_REAL_CLIENT(e) && bots_would_leave)
        {
                numplayersteama -= numbotsteama;
                numplayersteamb -= numbotsteamb;