diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/inventory.cpp | 6 |
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()); |