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/gui/inventorywindow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/inventorywindow.h') diff --git a/src/gui/inventorywindow.h b/src/gui/inventorywindow.h index 406c24bf..948482f5 100644 --- a/src/gui/inventorywindow.h +++ b/src/gui/inventorywindow.h @@ -53,7 +53,7 @@ class InventoryWindow : public Window, /** * Constructor. */ - InventoryWindow(Inventory *inventory, bool isMainInventory = false); + InventoryWindow(Inventory *inventory); /** * Destructor. -- cgit v1.2.3-70-g09d2