From d31056285f7b3ff5a0185506bd56470715b5ab77 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Sat, 5 Oct 2024 16:57:01 -0700 Subject: [PATCH] don't ignore rotten items --- docs/changelog.txt | 1 + plugins/logistics.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog.txt b/docs/changelog.txt index 6b739a891a..b883dfbc36 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -58,6 +58,7 @@ Template for new versions: ## Fixes - Fix mouse clicks bleeding through DFHack windows when clicking in the space between the frame and the window content in resizable windows +- `logistics`: don't ignore rotten items when applying stockpile logistics operations (e.g. autodump, autoclaim, etc.) ## Misc Improvements - DFHack text edit fields now delete the character at the cursor when you hit the Delete key diff --git a/plugins/logistics.cpp b/plugins/logistics.cpp index 5c9f1fdac8..d58a583d6d 100644 --- a/plugins/logistics.cpp +++ b/plugins/logistics.cpp @@ -431,7 +431,7 @@ static const struct BadFlags { df::item_flags flags; #define F(x) flags.bits.x = true; F(garbage_collect); F(hostile); F(on_fire); - F(rotten); F(trader); F(in_building); F(construction); + F(trader); F(in_building); F(construction); F(artifact); F(spider_web); F(owned); F(in_job); #undef F return flags.whole;