From: Freddy Date: Sat, 7 Apr 2018 16:08:36 +0000 (+0200) Subject: Explicit check for ACTIVE_NOT X-Git-Tag: xonotic-v0.8.5~2176^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bb14962efdb3a430a2d83a6365ec8b4e00824e18;p=xonotic%2Fxonotic-data.pk3dir.git Explicit check for ACTIVE_NOT --- diff --git a/qcsrc/common/triggers/func/conveyor.qc b/qcsrc/common/triggers/func/conveyor.qc index 4214a7323..9ad326cfa 100644 --- a/qcsrc/common/triggers/func/conveyor.qc +++ b/qcsrc/common/triggers/func/conveyor.qc @@ -19,7 +19,7 @@ void conveyor_think(entity this) if(this.active == ACTIVE_ACTIVE) { - FOREACH_ENTITY_RADIUS((this.absmin + this.absmax) * 0.5, vlen(this.absmax - this.absmin) * 0.5 + 1, !it.conveyor.active && isPushable(it), + FOREACH_ENTITY_RADIUS((this.absmin + this.absmax) * 0.5, vlen(this.absmax - this.absmin) * 0.5 + 1, it.conveyor.active == ACTIVE_NOT && isPushable(it), { vector emin = it.absmin; vector emax = it.absmax;