From: terencehill Date: Sun, 9 Aug 2015 15:16:33 +0000 (+0200) Subject: Always draw the icon at full alpha when hud_panel_itemstime_hidespawned is enabled X-Git-Tag: xonotic-v0.8.1~12^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3fd203a15c625cf89440b7dfd9ffca684c0c1aac;p=xonotic%2Fxonotic-data.pk3dir.git Always draw the icon at full alpha when hud_panel_itemstime_hidespawned is enabled --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 00b9d6bdc..db74f03ef 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -4671,7 +4671,9 @@ void DrawItemsTimeItem(vector myPos, vector mySize, float ar, float itemcode, fl vector color = '0 0 0'; float picalpha; - if(item_available) + if(autocvar_hud_panel_itemstime_hidespawned) + picalpha = 1; + else if(item_available) { float BLINK_FACTOR = 0.15; float BLINK_BASE = 0.85;