diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-11-07 11:47:24 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-11-07 11:47:24 -0700 |
commit | 99be9859a30e84e758ee3bfe7dcc3de33dfa2391 (patch) | |
tree | 49354012582a4c9e9218ebafad429b07b19b2539 /src/gui | |
parent | 9c1cc1e46fd21ec48809fbb8f64853fcecef2439 (diff) | |
download | mana-client-99be9859a30e84e758ee3bfe7dcc3de33dfa2391.tar.gz mana-client-99be9859a30e84e758ee3bfe7dcc3de33dfa2391.tar.bz2 mana-client-99be9859a30e84e758ee3bfe7dcc3de33dfa2391.tar.xz mana-client-99be9859a30e84e758ee3bfe7dcc3de33dfa2391.zip |
More eAthena guild stuff
Also some related chenges elsewhere
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/inventorywindow.h | 2 | ||||
-rw-r--r-- | src/gui/storagewindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/storagewindow.h | 2 | ||||
-rw-r--r-- | src/gui/trade.cpp | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/inventorywindow.h b/src/gui/inventorywindow.h index d7e82bd1..e40ac325 100644 --- a/src/gui/inventorywindow.h +++ b/src/gui/inventorywindow.h @@ -53,7 +53,7 @@ class InventoryWindow : public Window, * Constructor. */ InventoryWindow(int invSize = Net::getInventoryHandler() - ->getInventorySize()); + ->getSize(Net::InventoryHandler::INVENTORY)); /** * Destructor. diff --git a/src/gui/storagewindow.cpp b/src/gui/storagewindow.cpp index b0ffa3ff..e6583bad 100644 --- a/src/gui/storagewindow.cpp +++ b/src/gui/storagewindow.cpp @@ -197,5 +197,5 @@ void StorageWindow::removeStore(Item *item, int amount) void StorageWindow::close() { - Net::getInventoryHandler()->closeStorage(); + Net::getInventoryHandler()->closeStorage(Net::InventoryHandler::STORAGE); } diff --git a/src/gui/storagewindow.h b/src/gui/storagewindow.h index 8c890c27..a67e0617 100644 --- a/src/gui/storagewindow.h +++ b/src/gui/storagewindow.h @@ -50,7 +50,7 @@ class StorageWindow : public Window, gcn::ActionListener, * Constructor. */ StorageWindow(int invSize = Net::getInventoryHandler() - ->getStorageSize()); + ->getSize(Net::InventoryHandler::STORAGE)); /** * Destructor. diff --git a/src/gui/trade.cpp b/src/gui/trade.cpp index 15a4d7e8..5a659da9 100644 --- a/src/gui/trade.cpp +++ b/src/gui/trade.cpp @@ -58,9 +58,9 @@ TradeWindow::TradeWindow(): Window(_("Trade: You")), mMyInventory(new Inventory(Net::getInventoryHandler() - ->getInventorySize())), + ->getSize(Net::InventoryHandler::INVENTORY))), mPartnerInventory(new Inventory(Net::getInventoryHandler() - ->getInventorySize())), + ->getSize(Net::InventoryHandler::INVENTORY))), mStatus(PROPOSING) { setWindowName("Trade"); |