]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Also check the other teams
authorMario <mario@smbclan.net>
Sun, 10 Jul 2016 10:40:15 +0000 (20:40 +1000)
committerMario <mario@smbclan.net>
Sun, 10 Jul 2016 10:40:15 +0000 (20:40 +1000)
qcsrc/client/hud/panel/modicons.qc

index c4df032a426588fea07189918b01c9b611c0b787..04b97c288ef350db33a2aabb503c9af63b0a34c0 100644 (file)
@@ -201,8 +201,8 @@ void HUD_Mod_CTF(vector pos, vector mySize)
                                break; \
                } \
        } MACRO_END
-       X(red, myteam != NUM_TEAM_1);
-       X(blue, myteam != NUM_TEAM_2);
+       X(red, myteam != NUM_TEAM_1 && (nteams & BIT(0)));
+       X(blue, myteam != NUM_TEAM_2 && (nteams & BIT(1)));
        X(yellow, myteam != NUM_TEAM_3 && (nteams & BIT(2)));
        X(pink, myteam != NUM_TEAM_4 && (nteams & BIT(3)));
        X(neutral, ctf_oneflag);