]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't call EXACTTRIGGER_TOUCH when it's not needed (possible fix for heavy packet...
authorMario <mario@smbclan.net>
Wed, 6 Jan 2016 13:42:02 +0000 (23:42 +1000)
committerMario <mario@smbclan.net>
Wed, 6 Jan 2016 13:42:02 +0000 (23:42 +1000)
qcsrc/common/t_items.qc

index 72bfafd125460dd040405514e5cf1b3f8cdeca56..aca12292f327520b561fd81c1f2909d3f83eae07 100644 (file)
@@ -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,
        {