Skip to content

Commit

Permalink
revert: bad_flags check handles artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
xBlackTalonX committed May 19, 2024
1 parent 9578962 commit a503297
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions plugins/logistics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,7 @@ class DumpStockProcessor: public StockProcessor {
}

bool can_designate(color_ostream& out, df::item* item) override {
return !item->flags.bits.forbid &&
!item->flags.bits.artifact;
return !item->flags.bits.forbid;
}

bool designate(color_ostream& out, df::item* item) override {
Expand Down Expand Up @@ -394,7 +393,7 @@ class ForbidStockProcessor : public StockProcessor {
}

bool can_designate(color_ostream& out, df::item* item) override {
return !item->flags.bits.artifact;
return true;
}

bool designate(color_ostream& out, df::item* item) override {
Expand Down

0 comments on commit a503297

Please sign in to comment.