]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix capture shield HUD
authorMario <mario@smbclan.net>
Mon, 13 Jun 2016 05:36:13 +0000 (15:36 +1000)
committerMario <mario@smbclan.net>
Mon, 13 Jun 2016 05:36:13 +0000 (15:36 +1000)
qcsrc/client/hud/panel/modicons.qc

index 38dac05aeb2c525ba391d20cf92e5f53f2d25e36..54c835831dec0b27510d9d41953fd2ac8c265955 100644 (file)
@@ -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) {