diff options
| author | Alexander Gavrilov | 2012-03-15 20:46:08 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-03-15 20:46:08 +0400 |
| commit | f84b1539a8ebd7267acc06fbe2f4dd2394fccce9 (patch) | |
| tree | c5b02295686b5475bd4263dd1920d78401fa9dcf /plugins/prospector.cpp | |
| parent | e5efbc589525d34c5205065514f82a054a92a128 (diff) | |
| download | dfhack-f84b1539a8ebd7267acc06fbe2f4dd2394fccce9.tar.gz dfhack-f84b1539a8ebd7267acc06fbe2f4dd2394fccce9.tar.bz2 dfhack-f84b1539a8ebd7267acc06fbe2f4dd2394fccce9.tar.xz | |
Change to the traits representation of enum and bitfield properties.
Diffstat (limited to 'plugins/prospector.cpp')
| -rw-r--r-- | plugins/prospector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/prospector.cpp b/plugins/prospector.cpp index 4d89aaae..179fe666 100644 --- a/plugins/prospector.cpp +++ b/plugins/prospector.cpp @@ -297,7 +297,7 @@ static command_result embark_prospector(color_ostream &out, df::viewscreen_choos int sums[ENUM_LAST_ITEM(inclusion_type)+1] = { 0 }; for (unsigned j = 0; j < layer->vein_mat.size(); j++) - if (inclusion_type::is_valid(layer->vein_type[j])) + if (is_valid_enum_item<df::inclusion_type>(layer->vein_type[j])) sums[layer->vein_type[j]] += layer->vein_unk_38[j]; for (unsigned j = 0; j < layer->vein_mat.size(); j++) |
