summaryrefslogtreecommitdiff
path: root/src/gui/itemcontainer.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-11-25 18:43:28 +0000
committerIra Rice <irarice@gmail.com>2008-11-25 18:43:28 +0000
commit886a5d4803e277b053014ae6b5c1c347f7756d48 (patch)
treee24d94a1652470c27a2dbe26eed7a1923d43adb3 /src/gui/itemcontainer.cpp
parentd5e30d8f72184241034aa797471c31a5bcbaa095 (diff)
downloadmana-client-886a5d4803e277b053014ae6b5c1c347f7756d48.tar.gz
mana-client-886a5d4803e277b053014ae6b5c1c347f7756d48.tar.bz2
mana-client-886a5d4803e277b053014ae6b5c1c347f7756d48.tar.xz
mana-client-886a5d4803e277b053014ae6b5c1c347f7756d48.zip
Miscellaneous TMW change commits. Missed these changes before because of
a confusion on git.
Diffstat (limited to 'src/gui/itemcontainer.cpp')
-rw-r--r--src/gui/itemcontainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/itemcontainer.cpp b/src/gui/itemcontainer.cpp
index 30cb1d6d..5069e102 100644
--- a/src/gui/itemcontainer.cpp
+++ b/src/gui/itemcontainer.cpp
@@ -206,7 +206,7 @@ ItemContainer::mousePressed(gcn::MouseEvent &event)
}
Item *item = mInventory->getItem(index);
setSelectedItem(item);
- if (item && !item->isEquipment())
+ if (item)
{
itemShortcut->setItemSelected(item->getId());
}