From: Rudolf Polzer Date: Wed, 7 Mar 2012 15:38:58 +0000 (+0100) Subject: tiny bugfix for conveyor code X-Git-Tag: xonotic-v0.6.0~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a4763f3f26f3c2e40b1b304d9a4d0fc1569bc381;p=xonotic%2Fxonotic-data.pk3dir.git tiny bugfix for conveyor code --- diff --git a/qcsrc/server/t_plats.qc b/qcsrc/server/t_plats.qc index 6ca7aee30..5d7d9634a 100644 --- a/qcsrc/server/t_plats.qc +++ b/qcsrc/server/t_plats.qc @@ -2075,7 +2075,7 @@ void conveyor_think() if(self.state) { - for(e = findradius((self.absmin + self.absmax) * 0.5, vlen(self.absmax - self.absmin) * 0.5); e; e = e.chain) + for(e = findradius((self.absmin + self.absmax) * 0.5, vlen(self.absmax - self.absmin) * 0.5) + 1; e; e = e.chain) if(!e.conveyor.state) if(isPushable(e)) {