summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-11-03 10:18:25 -0700
committerJared Adams <jaxad0127@gmail.com>2009-11-03 10:18:25 -0700
commitacd557f9472c711fe92b9c158ec336abf688bf7b (patch)
tree2295d13589411ee88afe16f4997bea65b4ebba94 /src/gui/inventorywindow.h
parentc60d3a98dbbb20621742bfd82bbaaa6b7085a8ae (diff)
downloadmana-client-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.gz
mana-client-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.bz2
mana-client-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.xz
mana-client-acd557f9472c711fe92b9c158ec336abf688bf7b.zip
Remove more _SUPPORT ifdefs and do some cleanup
Diffstat (limited to 'src/gui/inventorywindow.h')
-rw-r--r--src/gui/inventorywindow.h6
1 files changed, 5 insertions, 1 deletions
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 <guichan/actionlistener.hpp>
#include <guichan/keylistener.hpp>
#include <guichan/selectionlistener.hpp>
@@ -49,7 +52,8 @@ class InventoryWindow : public Window,
/**
* Constructor.
*/
- InventoryWindow(int invSize = (INVENTORY_SIZE));
+ InventoryWindow(int invSize = Net::getInventoryHandler()
+ ->getInventorySize());
/**
* Destructor.