From 8c88c9061305974a4254b295a2781a6e8139571a Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 8 Jun 2016 19:25:43 +1000 Subject: [PATCH] Don't do exact trigger checks if the activator is not a trigger, fixes button-activated target_items --- qcsrc/common/t_items.qc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qcsrc/common/t_items.qc b/qcsrc/common/t_items.qc index 656d829a9..f8002c8cf 100644 --- a/qcsrc/common/t_items.qc +++ b/qcsrc/common/t_items.qc @@ -1432,7 +1432,10 @@ void target_items_use(entity this, entity actor, entity trigger) return; if(IS_DEAD(actor)) return; - EXACTTRIGGER_TOUCH; + if(trigger.solid == SOLID_TRIGGER) + { + EXACTTRIGGER_TOUCH; + } FOREACH_ENTITY_ENT(enemy, actor, { -- 2.39.2