]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Always show the panel when a flag is shielded
authorMario <mario@smbclan.net>
Mon, 13 Jun 2016 05:20:27 +0000 (15:20 +1000)
committerMario <mario@smbclan.net>
Mon, 13 Jun 2016 05:20:27 +0000 (15:20 +1000)
qcsrc/client/hud/panel/modicons.qc

index f442d2df5253b62d1a86dd617d119c6572c6adde..38dac05aeb2c525ba391d20cf92e5f53f2d25e36 100644 (file)
@@ -129,7 +129,7 @@ void HUD_Mod_CTF(vector pos, vector mySize)
 
        ctf_oneflag = (stat_items & CTF_FLAG_NEUTRAL);
 
-       mod_active = (redflag || blueflag || yellowflag || pinkflag || neutralflag);
+       mod_active = (redflag || blueflag || yellowflag || pinkflag || neutralflag || (stat_items & CTF_SHIELDED));
 
        if (autocvar__hud_configure) {
                redflag = 1;