summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-04-24 18:26:50 -0600
committerJared Adams <jaxad0127@gmail.com>2010-04-25 14:40:20 -0600
commit33481831b44f7e6fded6b9be29f1ea56bf74bfa2 (patch)
tree2dfe0010c0901152df357cf915b7cb48e13a8977 /src/gui/inventorywindow.h
parentf07260b4a1c43611c0839b5adf735a2c13ad8348 (diff)
downloadmana-33481831b44f7e6fded6b9be29f1ea56bf74bfa2.tar.gz
mana-33481831b44f7e6fded6b9be29f1ea56bf74bfa2.tar.bz2
mana-33481831b44f7e6fded6b9be29f1ea56bf74bfa2.tar.xz
mana-33481831b44f7e6fded6b9be29f1ea56bf74bfa2.zip
Fix some storage bugs
Reviewed-by: Bertram
Diffstat (limited to 'src/gui/inventorywindow.h')
-rw-r--r--src/gui/inventorywindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/inventorywindow.h b/src/gui/inventorywindow.h
index 948482f5..f611e934 100644
--- a/src/gui/inventorywindow.h
+++ b/src/gui/inventorywindow.h
@@ -108,6 +108,8 @@ class InventoryWindow : public Window,
void slotsChanged(Inventory* inventory);
+ bool isMainInventory() { return mInventory->isMainInventory(); }
+
/**
* Returns true if any instances exist.
*/