From adb8a867b8ae9159bff53f44ff812bb155ac7592 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 6 Jan 2016 23:42:02 +1000 Subject: [PATCH] Don't call EXACTTRIGGER_TOUCH when it's not needed (possible fix for heavy packet loss when touching item triggers) --- qcsrc/common/t_items.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/common/t_items.qc b/qcsrc/common/t_items.qc index 72bfafd12..aca12292f 100644 --- a/qcsrc/common/t_items.qc +++ b/qcsrc/common/t_items.qc @@ -1421,7 +1421,7 @@ void target_items_use() {SELFPARAM(); if(activator.classname == "droppedweapon") { - EXACTTRIGGER_TOUCH; + //EXACTTRIGGER_TOUCH; remove(activator); return; } @@ -1430,7 +1430,7 @@ void target_items_use() return; if(IS_DEAD(activator)) return; - EXACTTRIGGER_TOUCH; + //EXACTTRIGGER_TOUCH; FOREACH_ENTITY_ENT(enemy, activator, { -- 2.39.2