]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't check warpzone trigger touch for all triggers (causes severe lag on maps with...
authorMario <zacjardine@y7mail.com>
Tue, 24 Mar 2015 10:01:51 +0000 (21:01 +1100)
committerMario <zacjardine@y7mail.com>
Tue, 24 Mar 2015 10:01:51 +0000 (21:01 +1100)
qcsrc/common/triggers/triggers.qc

index 04225f84ee9e36d43e7b5408e7492903d6bcfd37..ece5781e14a4bb65c63dda144445eb677a970c70 100644 (file)
@@ -289,7 +289,7 @@ void trigger_think_generic()
                        emax += '1 1 1';
                }
                if(boxesoverlap(emin, emax, self.absmin, self.absmax)) // quick
-               if(WarpZoneLib_BoxTouchesBrush(emin, emax, self, e)) // accurate
+               //if(WarpZoneLib_BoxTouchesBrush(emin, emax, self, e)) // accurate
                {
                        other = e;
                        self.trigger_touch();