diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-29 15:41:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-29 15:41:25 +0300 |
commit | e18e3bdf005824b5875bda74053c116b6c4c059f (patch) | |
tree | 876cba874c231b79e5eb5cef7233e98b78ec627d /src/gui/inventorywindow.cpp | |
parent | 5e988995513762efc328dc0c592e191b49622d30 (diff) | |
download | manaverse-e18e3bdf005824b5875bda74053c116b6c4c059f.tar.gz manaverse-e18e3bdf005824b5875bda74053c116b6c4c059f.tar.bz2 manaverse-e18e3bdf005824b5875bda74053c116b6c4c059f.tar.xz manaverse-e18e3bdf005824b5875bda74053c116b6c4c059f.zip |
Fix possible hiding methods issues.
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r-- | src/gui/inventorywindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp index 01e2bdd17..4a54f5fb2 100644 --- a/src/gui/inventorywindow.cpp +++ b/src/gui/inventorywindow.cpp @@ -340,7 +340,7 @@ void InventoryWindow::action(const gcn::ActionEvent &event) { if (isStorageActive()) { - Net::getInventoryHandler()->moveItem(Inventory::INVENTORY, + Net::getInventoryHandler()->moveItem2(Inventory::INVENTORY, item->getInvIndex(), item->getQuantity(), Inventory::STORAGE); } @@ -431,7 +431,7 @@ void InventoryWindow::mouseClicked(gcn::MouseEvent &event) } else { - Net::getInventoryHandler()->moveItem(Inventory::INVENTORY, + Net::getInventoryHandler()->moveItem2(Inventory::INVENTORY, item->getInvIndex(), item->getQuantity(), Inventory::STORAGE); } @@ -445,7 +445,7 @@ void InventoryWindow::mouseClicked(gcn::MouseEvent &event) } else { - Net::getInventoryHandler()->moveItem(Inventory::STORAGE, + Net::getInventoryHandler()->moveItem2(Inventory::STORAGE, item->getInvIndex(), item->getQuantity(), Inventory::INVENTORY); } |