summaryrefslogtreecommitdiff
path: root/plugins/add-spatter.cpp
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-09-18 13:11:11 +0400
committerAlexander Gavrilov2012-09-18 13:11:11 +0400
commitd70a79deb99a3c4ae6458317ee1111928f3db401 (patch)
tree37c9325ca0b0b98fb56c850b55ad5cc036cab2f2 /plugins/add-spatter.cpp
parentbe928a9dc537290522577cde41211637f3b6f165 (diff)
downloaddfhack-d70a79deb99a3c4ae6458317ee1111928f3db401.tar.gz
dfhack-d70a79deb99a3c4ae6458317ee1111928f3db401.tar.bz2
dfhack-d70a79deb99a3c4ae6458317ee1111928f3db401.tar.xz
Follow changes in XML defs.
Diffstat (limited to 'plugins/add-spatter.cpp')
-rw-r--r--plugins/add-spatter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/add-spatter.cpp b/plugins/add-spatter.cpp
index ed5f47f7..dda4ca2b 100644
--- a/plugins/add-spatter.cpp
+++ b/plugins/add-spatter.cpp
@@ -167,7 +167,7 @@ static void index_items(item_table &table, df::job *job, ReactionInfo *info)
int ridx = iitem->contains[k];
auto reag = info->react->reagents[ridx];
- if (reag->matches(contents[j], info->react, iitem->reaction_id))
+ if (reag->matchesChild(contents[j], info->react, iitem->reaction_id))
table[ridx].push_back(contents[j]);
}
}