summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan-Fabian Humann <malastare@gmx.net>2005-04-04 22:41:56 +0000
committerJan-Fabian Humann <malastare@gmx.net>2005-04-04 22:41:56 +0000
commit11dbd7dafa3e4e7fb1771940fbd37e7c113a557f (patch)
tree2f60efb5d697ba5e7cc09db11e03c83cdef639be /src
parentca03f5a83dbd379d21c20ed4e69ec6836395b694 (diff)
downloadmana-11dbd7dafa3e4e7fb1771940fbd37e7c113a557f.tar.gz
mana-11dbd7dafa3e4e7fb1771940fbd37e7c113a557f.tar.bz2
mana-11dbd7dafa3e4e7fb1771940fbd37e7c113a557f.tar.xz
mana-11dbd7dafa3e4e7fb1771940fbd37e7c113a557f.zip
tiny compile fix
Diffstat (limited to 'src')
-rw-r--r--src/gui/inventory.h6
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);
};