diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-03-25 16:03:13 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-03-25 16:56:12 -0600 |
commit | 8745368108563d7c32820b989c3ea794ccb834f9 (patch) | |
tree | a69554b2e5659b25f50797cc6ab4cc95b2b6f84e /src/game.cpp | |
parent | ac18a72c9972faf6dbd68abf3c883b2d444396c8 (diff) | |
download | mana-client-8745368108563d7c32820b989c3ea794ccb834f9.tar.gz mana-client-8745368108563d7c32820b989c3ea794ccb834f9.tar.bz2 mana-client-8745368108563d7c32820b989c3ea794ccb834f9.tar.xz mana-client-8745368108563d7c32820b989c3ea794ccb834f9.zip |
Remove the type boolean from InventoryWindow
This moves inventory/storage type into the Inventory class, having
size default to a call to the netcode to get the sive for the given
type.
Reviewed-by: Chuck Miller
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index f2ad6109..185fcb03 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -155,7 +155,7 @@ static void createGuiWindows() equipmentWindow = new EquipmentWindow(player_node->mEquipment.get()); statusWindow = new StatusWindow; miniStatusWindow = new MiniStatusWindow; - inventoryWindow = new InventoryWindow(player_node->getInventory(), true); + inventoryWindow = new InventoryWindow(player_node->getInventory()); skillDialog = new SkillDialog; minimap = new Minimap; helpWindow = new HelpWindow; |