From acd557f9472c711fe92b9c158ec336abf688bf7b Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Tue, 3 Nov 2009 10:18:25 -0700 Subject: Remove more _SUPPORT ifdefs and do some cleanup --- src/gui/inventorywindow.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/gui/inventorywindow.h') diff --git a/src/gui/inventorywindow.h b/src/gui/inventorywindow.h index fbda5ac7..d7e82bd1 100644 --- a/src/gui/inventorywindow.h +++ b/src/gui/inventorywindow.h @@ -26,6 +26,9 @@ #include "inventory.h" +#include "net/inventoryhandler.h" +#include "net/net.h" + #include #include #include @@ -49,7 +52,8 @@ class InventoryWindow : public Window, /** * Constructor. */ - InventoryWindow(int invSize = (INVENTORY_SIZE)); + InventoryWindow(int invSize = Net::getInventoryHandler() + ->getInventorySize()); /** * Destructor. -- cgit v1.2.3-70-g09d2