From 8745368108563d7c32820b989c3ea794ccb834f9 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Thu, 25 Mar 2010 16:03:13 -0600 Subject: 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 --- src/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game.cpp') 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; -- cgit v1.2.3-70-g09d2