]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/triggers.qc
Revert tweak to touch function (has the possibility of overwhelming clients on maps...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / triggers.qc
index 563364523c9396ac306515b0430f2569100208cb..29cb70a7dcc935990309119f1acf2e403806ff18 100644 (file)
@@ -296,7 +296,7 @@ void trigger_touch_generic(entity this, void() touchfunc)
 {
        entity e;
        for(e = findradius((this.absmin + this.absmax) * 0.5, vlen(this.absmax - this.absmin) * 0.5 + 1); e; e = e.chain)
-       if(e.isplayermodel || e.classname == "csqcprojectile")
+       if(e.classname == "csqcprojectile")
        {
                vector emin = e.absmin, emax = e.absmax;
                if(this.solid == SOLID_BSP)