summaryrefslogtreecommitdiff
path: root/src/gui/itemcontainer.h
diff options
context:
space:
mode:
authorJan-Fabian Humann <malastare@gmx.net>2005-04-04 17:59:12 +0000
committerJan-Fabian Humann <malastare@gmx.net>2005-04-04 17:59:12 +0000
commitacb216cbbd50f68710502068bec83e073128d6fc (patch)
tree88e5649a5814bdc0ea7c3e646e79f8fee790a63e /src/gui/itemcontainer.h
parente571ede8b977f7e69dd7ee28c0edc04cd71400d3 (diff)
downloadmana-acb216cbbd50f68710502068bec83e073128d6fc.tar.gz
mana-acb216cbbd50f68710502068bec83e073128d6fc.tar.bz2
mana-acb216cbbd50f68710502068bec83e073128d6fc.tar.xz
mana-acb216cbbd50f68710502068bec83e073128d6fc.zip
quick fix for bug which increased item amount when warping client-side
Diffstat (limited to 'src/gui/itemcontainer.h')
-rw-r--r--src/gui/itemcontainer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/itemcontainer.h b/src/gui/itemcontainer.h
index 3dbc3b7c..cbf08cf1 100644
--- a/src/gui/itemcontainer.h
+++ b/src/gui/itemcontainer.h
@@ -109,6 +109,11 @@ class ItemContainer : public gcn::Widget
void addItem(int index, int id, int quantity, bool equipment);
/**
+ * Reset all item slots.
+ */
+ void resetItems();
+
+ /**
* Remove a item from the inventory.
*/
void removeItem(int id);