diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/inventory.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/inventory.h b/src/gui/inventory.h index 9c76e176..591e316e 100644 --- a/src/gui/inventory.h +++ b/src/gui/inventory.h @@ -66,6 +66,11 @@ class InventoryWindow : public Window, gcn::ActionListener { void equipItem(int index); /** + * Unequips an item. + */ + void unequipItem(int index); + + /** * Change quantity of an item. */ int changeQuantity(int index, int quantity); @@ -87,7 +92,6 @@ class InventoryWindow : public Window, gcn::ActionListener { private: gcn::Button *useButton, *dropButton; int useItem(int index, int id); - void unequipItem(int index); }; |