Skip to content

Commit 0324c3e

Browse files
committed
fix classification of storage items
1 parent 31a6d04 commit 0324c3e

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

plugins/logistics.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,8 +451,11 @@ static void scan_item(color_ostream &out, df::item *item, StockProcessor &proces
451451
// that happens to still be on the stockpile. we can do a more careful check if this isn't sufficient
452452
static bool non_accepted_storage_item(df::building_stockpilest *bld, df::item *item) {
453453
auto & flags = bld->settings.flags;
454-
if (item->getType() == df::item_type::BIN || item->hasToolUse(df::tool_uses::HEAVY_OBJECT_HAULING))
455-
return !flags.bits.finished_goods;
454+
if (item->getType() == df::item_type::BIN)
455+
return !flags.bits.furniture;
456+
457+
if (item->hasToolUse(df::tool_uses::HEAVY_OBJECT_HAULING))
458+
return !flags.bits.furniture;
456459

457460
if (item->isFoodStorage())
458461
return !flags.bits.furniture;

0 commit comments

Comments
 (0)