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/itemamountwindow.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/itemamountwindow.cpp')
-rw-r--r-- | src/gui/itemamountwindow.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/gui/itemamountwindow.cpp b/src/gui/itemamountwindow.cpp index 9e2a97681..3b01b559f 100644 --- a/src/gui/itemamountwindow.cpp +++ b/src/gui/itemamountwindow.cpp @@ -113,14 +113,12 @@ void ItemAmountWindow::finish(Item *item, int amount, int price, Usage usage) Net::getInventoryHandler()->splitItem(item, amount); break; case StoreAdd: - Net::getInventoryHandler()->moveItem(Inventory::INVENTORY, - item->getInvIndex(), amount, - Inventory::STORAGE); + Net::getInventoryHandler()->moveItem2(Inventory::INVENTORY, + item->getInvIndex(), amount, Inventory::STORAGE); break; case StoreRemove: - Net::getInventoryHandler()->moveItem(Inventory::STORAGE, - item->getInvIndex(), amount, - Inventory::INVENTORY); + Net::getInventoryHandler()->moveItem2(Inventory::STORAGE, + item->getInvIndex(), amount, Inventory::INVENTORY); break; case ShopBuyAdd: if (shopWindow) |