summaryrefslogtreecommitdiff
path: root/src/gui/inventory.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-02-20 14:44:27 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-02-20 14:44:27 +0000
commitb570d0413c23d1684bf26e08da45e7e939ec5f9f (patch)
treed994f7d8519bc574571798a71918641457689bbe /src/gui/inventory.cpp
parent3135c725cc37251943271cd8f939e646c9164259 (diff)
downloadmana-b570d0413c23d1684bf26e08da45e7e939ec5f9f.tar.gz
mana-b570d0413c23d1684bf26e08da45e7e939ec5f9f.tar.bz2
mana-b570d0413c23d1684bf26e08da45e7e939ec5f9f.tar.xz
mana-b570d0413c23d1684bf26e08da45e7e939ec5f9f.zip
Better working equipment!
Diffstat (limited to 'src/gui/inventory.cpp')
-rw-r--r--src/gui/inventory.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/inventory.cpp b/src/gui/inventory.cpp
index 67d6fecb..d891db48 100644
--- a/src/gui/inventory.cpp
+++ b/src/gui/inventory.cpp
@@ -49,9 +49,7 @@ InventoryWindow::InventoryWindow():
items = new ItemContainer();
items->setSize(318, 40);
items->setPosition(2, 2);
- add(items);
-
-
+ add(items);
}
InventoryWindow::~InventoryWindow()
@@ -140,8 +138,6 @@ void InventoryWindow::action(const std::string &eventId)
if(items->isEquipment(items->getIndex())) {
if(items->isEquipped(items->getIndex())) {
unequipItem(items->getIndex());
- std::cout << "Blah\n";
-
}
else {
equipItem(items->getIndex());