From 33481831b44f7e6fded6b9be29f1ea56bf74bfa2 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sat, 24 Apr 2010 18:26:50 -0600 Subject: Fix some storage bugs Reviewed-by: Bertram --- src/gui/inventorywindow.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/inventorywindow.h') 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. */ -- cgit v1.2.3-70-g09d2