diff options
| author | Timothy Collett | 2012-09-10 09:19:21 -0400 |
|---|---|---|
| committer | Timothy Collett | 2012-09-10 09:19:21 -0400 |
| commit | 274d6038adce5797b58cee78a330eb5d639bf59e (patch) | |
| tree | a80b541fe5352594f5e2d82da50f0d38ddbfedfe /plugins/workflow.cpp | |
| parent | 270351f510db516811117ab746a563560102c14b (diff) | |
| download | dfhack-274d6038adce5797b58cee78a330eb5d639bf59e.tar.gz dfhack-274d6038adce5797b58cee78a330eb5d639bf59e.tar.bz2 dfhack-274d6038adce5797b58cee78a330eb5d639bf59e.tar.xz | |
Merge further changes (???)
Diffstat (limited to 'plugins/workflow.cpp')
| -rw-r--r-- | plugins/workflow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/workflow.cpp b/plugins/workflow.cpp index dbf54607..9e0e4529 100644 --- a/plugins/workflow.cpp +++ b/plugins/workflow.cpp @@ -808,7 +808,7 @@ static void compute_custom_job(ProtectedJob *pj, df::job *job) using namespace df::enums::reaction_product_item_flags; VIRTUAL_CAST_VAR(prod, df::reaction_product_itemst, r->products[i]); - if (!prod || (prod->item_type < 0 && !prod->flags.is_set(CRAFTS))) + if (!prod || (prod->item_type < (df::item_type)0 && !prod->flags.is_set(CRAFTS))) continue; MaterialInfo mat(prod); |
