Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 99e2e59

Browse files
committed
use normalized specials vector
1 parent 44adae2 commit 99e2e59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/buildingplan/buildingplan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ static int scanAvailableItems(color_ostream &out, df::building_type type, int16_
685685
filter.setMaterials(set<MaterialInfo>());
686686
special.clear();
687687
}
688-
if (itemPassesScreen(item) && matchesFilters(item, jitem, heat, filter, specials)) {
688+
if (itemPassesScreen(item) && matchesFilters(item, jitem, heat, filter, special)) {
689689
if (item_ids)
690690
item_ids->emplace_back(item->id);
691691
if (counts) {

0 commit comments

Comments
 (0)