From f48d4c9978c1f29203f2bbbc7dcae3623045f202 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 10 Jul 2016 20:40:15 +1000 Subject: [PATCH] Also check the other teams --- qcsrc/client/hud/panel/modicons.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2