]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Explicitly check for ACTIVE_ACTIVE
authorFreddy <schro.sb@gmail.com>
Fri, 6 Apr 2018 21:59:12 +0000 (23:59 +0200)
committerFreddy <schro.sb@gmail.com>
Fri, 6 Apr 2018 21:59:12 +0000 (23:59 +0200)
qcsrc/common/triggers/func/conveyor.qc

index f1b0ad52c47bf8a1cb07cad86f0ac96c1b3f3e5a..4214a73239628f1a06a405cda73f7d094a18e4cd 100644 (file)
@@ -17,7 +17,7 @@ void conveyor_think(entity this)
                IL_REMOVE(g_conveyed, it);
        });
 
-       if(this.active)
+       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),
                {