From bb14962efdb3a430a2d83a6365ec8b4e00824e18 Mon Sep 17 00:00:00 2001 From: Freddy Date: Sat, 7 Apr 2018 18:08:36 +0200 Subject: [PATCH] Explicit check for ACTIVE_NOT --- qcsrc/common/triggers/func/conveyor.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2