diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-09-14 06:45:40 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-09-14 06:45:40 -0600 |
commit | 96ca40bdc307be0a527d1c98edffdb1bc4c85f8f (patch) | |
tree | 6cbf7f82374c5a82fe44a33c39165adf38cb668e /src/net | |
parent | c5e7ba2e373466fcbe884c1579acd6ea5a8f5222 (diff) | |
download | mana-96ca40bdc307be0a527d1c98edffdb1bc4c85f8f.tar.gz mana-96ca40bdc307be0a527d1c98edffdb1bc4c85f8f.tar.bz2 mana-96ca40bdc307be0a527d1c98edffdb1bc4c85f8f.tar.xz mana-96ca40bdc307be0a527d1c98edffdb1bc4c85f8f.zip |
Fix context menu for items in the EquipmentWindow
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/inventoryhandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp index b6e91609..55714a70 100644 --- a/src/net/ea/inventoryhandler.cpp +++ b/src/net/ea/inventoryhandler.cpp @@ -304,7 +304,8 @@ void InventoryHandler::equipItem(const Item *item) void InventoryHandler::unequipItem(const Item *item) { - const Item *real_item = item->isEquipped() ? item : getRealEquipedItem(item); + const Item *real_item = item->isInEquipment() ? getRealEquipedItem(item) + : item; if (!real_item) return; |