- // conveyors: check if we still convey stuff
- float conveyor_broken = FALSE;
- if(self.groundentity.classname == "func_conveyor")
- if(self.groundentity.nextthink)
- {
- if(!WarpZoneLib_BoxTouchesBrush(self.absmin + '0 0 -1', self.absmax + '0 0 -1', self.groundentity, self))
- self.groundentity = world;
- }
- if(!self.groundentity)
- {
- tracebox(self.origin + '0 0 -1', self.mins, self.maxs, self.origin + '0 0 -1', MOVE_NORMAL, self);
- if(trace_ent.classname == "func_conveyor")
- self.groundentity = trace_ent;
- }
-