From 29a93440367af32463f285ae5f0bd2aa23aadc92 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 19 May 2014 00:51:19 +0300 Subject: Move itemtype into separate file. --- src/being/playerinfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/being') diff --git a/src/being/playerinfo.cpp b/src/being/playerinfo.cpp index b4824599b..4978bd494 100644 --- a/src/being/playerinfo.cpp +++ b/src/being/playerinfo.cpp @@ -203,8 +203,8 @@ void setInventoryItem(const int index, const int id, const int amount, const int refine) { bool equipment = false; - const ItemType itemType = ItemDB::get(id).getType(); - if (itemType != ITEM_UNUSABLE && itemType != ITEM_USABLE) + const ItemType::Type itemType = ItemDB::get(id).getType(); + if (itemType != ItemType::UNUSABLE && itemType != ItemType::USABLE) equipment = true; if (mInventory) mInventory->setItem(index, id, amount, refine, equipment); -- cgit v1.2.3-70-g09d2