From: Mario Date: Tue, 24 Mar 2015 10:01:51 +0000 (+1100) Subject: Don't check warpzone trigger touch for all triggers (causes severe lag on maps with... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=72533a0b051413f9692201b59ff23e070a3c61db;p=xonotic%2Fxonotic-data.pk3dir.git Don't check warpzone trigger touch for all triggers (causes severe lag on maps with giant triggers) --- diff --git a/qcsrc/common/triggers/triggers.qc b/qcsrc/common/triggers/triggers.qc index 04225f84e..ece5781e1 100644 --- a/qcsrc/common/triggers/triggers.qc +++ b/qcsrc/common/triggers/triggers.qc @@ -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();