From: Mario Date: Mon, 13 Jun 2016 05:36:13 +0000 (+1000) Subject: Fix capture shield HUD X-Git-Tag: xonotic-v0.8.2~809 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f08c418342d1e9faa4649531ed8ce960135e738a;p=xonotic%2Fxonotic-data.pk3dir.git Fix capture shield HUD --- diff --git a/qcsrc/client/hud/panel/modicons.qc b/qcsrc/client/hud/panel/modicons.qc index 38dac05ae..54c835831 100644 --- a/qcsrc/client/hud/panel/modicons.qc +++ b/qcsrc/client/hud/panel/modicons.qc @@ -200,9 +200,9 @@ void HUD_Mod_CTF(vector pos, vector mySize) } MACRO_END X(red, myteam != NUM_TEAM_1); X(blue, myteam != NUM_TEAM_2); - X(yellow, myteam != NUM_TEAM_3); - X(pink, myteam != NUM_TEAM_4); - X(neutral, true); + X(yellow, myteam != NUM_TEAM_3 && team_count >= 3); + X(pink, myteam != NUM_TEAM_4 && team_count >= 4); + X(neutral, ctf_oneflag); #undef X if (ctf_oneflag) {