From 6ba78175b8fb175285e38135d7683bdd158b5ae9 Mon Sep 17 00:00:00 2001 From: Freddy Date: Sat, 5 Nov 2016 14:57:59 +0100 Subject: [PATCH] Don't apply ITS_POWERUP to all powerups --- qcsrc/common/t_items.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2