From: Rudolf Polzer Date: Fri, 30 Dec 2011 11:15:51 +0000 (+0100) Subject: do it right X-Git-Tag: xonotic-v0.6.0~74^2~17 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d8f258b97a2c54208ed5ba91989dd48aa276bf85;p=xonotic%2Fxonotic-data.pk3dir.git do it right --- diff --git a/qcsrc/server/t_plats.qc b/qcsrc/server/t_plats.qc index 9c9eb42ba..e3f2ee769 100644 --- a/qcsrc/server/t_plats.qc +++ b/qcsrc/server/t_plats.qc @@ -2070,10 +2070,12 @@ void conveyor_think() if(!e.conveyor.state) if(e.movetype != MOVETYPE_NONE) { + vector emin = e.absmin; + vector emax = e.absmax; if(self.solid == SOLID_BSP) { - vector emin = e.absmin - '1 1 1'; - vector emax = e.absmax + '1 1 1'; + emin -= '1 1 1'; + emax += '1 1 1'; } if(boxesoverlap(emin, emax, self.absmin, self.absmax)) // quick if(WarpZoneLib_BoxTouchesBrush(emin, emax, self, e)) // accurate