From: Freddy Date: Sat, 5 Nov 2016 13:57:59 +0000 (+0100) Subject: Don't apply ITS_POWERUP to all powerups X-Git-Tag: xonotic-v0.8.2~450^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6ba78175b8fb175285e38135d7683bdd158b5ae9;p=xonotic%2Fxonotic-data.pk3dir.git Don't apply ITS_POWERUP to all powerups --- diff --git a/qcsrc/common/t_items.qc b/qcsrc/common/t_items.qc index 50a796c81..2b9a1f5d9 100644 --- a/qcsrc/common/t_items.qc +++ b/qcsrc/common/t_items.qc @@ -463,7 +463,7 @@ void Item_Show (entity e, float mode) e.ItemStatus &= ~ITS_AVAILABLE; }} - if (def.instanceOfPowerup) + if (def == ITEM_Strength || def == ITEM_Shield) e.ItemStatus |= ITS_POWERUP; if (autocvar_g_nodepthtestitems)