Skip to content

Commit e8d6d74

Browse files
authored
Merge pull request #4984 from myk002/myk_rotten
[logistics] don't ignore rotten items
2 parents a606464 + d310562 commit e8d6d74

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

docs/changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ Template for new versions:
5858

5959
## Fixes
6060
- Fix mouse clicks bleeding through DFHack windows when clicking in the space between the frame and the window content in resizable windows
61+
- `logistics`: don't ignore rotten items when applying stockpile logistics operations (e.g. autodump, autoclaim, etc.)
6162

6263
## Misc Improvements
6364
- DFHack text edit fields now delete the character at the cursor when you hit the Delete key

plugins/logistics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ static const struct BadFlags {
431431
df::item_flags flags;
432432
#define F(x) flags.bits.x = true;
433433
F(garbage_collect); F(hostile); F(on_fire);
434-
F(rotten); F(trader); F(in_building); F(construction);
434+
F(trader); F(in_building); F(construction);
435435
F(artifact); F(spider_web); F(owned); F(in_job);
436436
#undef F
437437
return flags.whole;

0 commit comments

Comments
 (0)