]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
tiny bugfix for conveyor code
authorRudolf Polzer <divverent@xonotic.org>
Wed, 7 Mar 2012 15:38:58 +0000 (16:38 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Wed, 7 Mar 2012 15:38:58 +0000 (16:38 +0100)
qcsrc/server/t_plats.qc

index 6ca7aee30428ba864403a079e62c7154707e0041..5d7d9634aa10761dfbf6d6b2d56a09414c50ef6d 100644 (file)
@@ -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))
                                {