]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Always draw the icon at full alpha when hud_panel_itemstime_hidespawned is enabled
authorterencehill <piuntn@gmail.com>
Sun, 9 Aug 2015 15:16:33 +0000 (17:16 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 9 Aug 2015 15:16:33 +0000 (17:16 +0200)
qcsrc/client/hud.qc

index 00b9d6bdcc2477eabbc2915a528869dc48e6c509..db74f03efbdafee304a8a8a508154e1cb06b4acb 100644 (file)
@@ -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;