From: Mario Date: Sun, 10 Jul 2016 10:40:15 +0000 (+1000) Subject: Also check the other teams X-Git-Tag: xonotic-v0.8.2~700^2~10^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f48d4c9978c1f29203f2bbbc7dcae3623045f202;p=xonotic%2Fxonotic-data.pk3dir.git Also check the other teams --- diff --git a/qcsrc/client/hud/panel/modicons.qc b/qcsrc/client/hud/panel/modicons.qc index c4df032a4..04b97c288 100644 --- a/qcsrc/client/hud/panel/modicons.qc +++ b/qcsrc/client/hud/panel/modicons.qc @@ -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);