From: Mario Date: Mon, 13 Jun 2016 05:20:27 +0000 (+1000) Subject: Always show the panel when a flag is shielded X-Git-Tag: xonotic-v0.8.2~810 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=695a42dea108509f6cce469a08aecee03e111451 Always show the panel when a flag is shielded --- diff --git a/qcsrc/client/hud/panel/modicons.qc b/qcsrc/client/hud/panel/modicons.qc index f442d2df52..38dac05aeb 100644 --- a/qcsrc/client/hud/panel/modicons.qc +++ b/qcsrc/client/hud/panel/modicons.qc @@ -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;