summaryrefslogtreecommitdiff
path: root/plugins/cleanowned.cpp
diff options
context:
space:
mode:
authorTimothy Collett2012-09-10 09:19:21 -0400
committerTimothy Collett2012-09-10 09:19:21 -0400
commit274d6038adce5797b58cee78a330eb5d639bf59e (patch)
treea80b541fe5352594f5e2d82da50f0d38ddbfedfe /plugins/cleanowned.cpp
parent270351f510db516811117ab746a563560102c14b (diff)
downloaddfhack-274d6038adce5797b58cee78a330eb5d639bf59e.tar.gz
dfhack-274d6038adce5797b58cee78a330eb5d639bf59e.tar.bz2
dfhack-274d6038adce5797b58cee78a330eb5d639bf59e.tar.xz
Merge further changes (???)
Diffstat (limited to 'plugins/cleanowned.cpp')
-rw-r--r--plugins/cleanowned.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/cleanowned.cpp b/plugins/cleanowned.cpp
index c1521b8d..a9d461d2 100644
--- a/plugins/cleanowned.cpp
+++ b/plugins/cleanowned.cpp
@@ -117,13 +117,13 @@ command_result df_cleanowned (color_ostream &out, vector <string> & parameters)
else if (item->flags.bits.on_ground)
{
int32_t type = item->getType();
- if(type == item_type::MEAT ||
- type == item_type::FISH ||
- type == item_type::VERMIN ||
- type == item_type::PET ||
- type == item_type::PLANT ||
- type == item_type::CHEESE ||
- type == item_type::FOOD
+ if((df::enums::item_type::item_type)type == item_type::MEAT ||
+ (df::enums::item_type::item_type)type == item_type::FISH ||
+ (df::enums::item_type::item_type)type == item_type::VERMIN ||
+ (df::enums::item_type::item_type)type == item_type::PET ||
+ (df::enums::item_type::item_type)type == item_type::PLANT ||
+ (df::enums::item_type::item_type)type == item_type::CHEESE ||
+ (df::enums::item_type::item_type)type == item_type::FOOD
)
{
confiscate = true;