diff options
author | Jan-Fabian Humann <malastare@gmx.net> | 2005-03-05 20:43:41 +0000 |
---|---|---|
committer | Jan-Fabian Humann <malastare@gmx.net> | 2005-03-05 20:43:41 +0000 |
commit | c545fc021ccdaa6a253eafd649b5aebdef677047 (patch) | |
tree | 5fc4eee703aaac9decb183adec130c3cd278ce47 /src/gui/inventory.h | |
parent | 1b637982b44635d6326dc8fd3b62d0d0aa731320 (diff) | |
download | mana-client-c545fc021ccdaa6a253eafd649b5aebdef677047.tar.gz mana-client-c545fc021ccdaa6a253eafd649b5aebdef677047.tar.bz2 mana-client-c545fc021ccdaa6a253eafd649b5aebdef677047.tar.xz mana-client-c545fc021ccdaa6a253eafd649b5aebdef677047.zip |
Now you can decide how many items to drop
Diffstat (limited to 'src/gui/inventory.h')
-rw-r--r-- | src/gui/inventory.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/inventory.h b/src/gui/inventory.h index f97a9b83..9c76e176 100644 --- a/src/gui/inventory.h +++ b/src/gui/inventory.h @@ -80,12 +80,13 @@ class InventoryWindow : public Window, gcn::ActionListener { */ void action(const std::string& eventId); + int dropItem(int index, int quantity); + ItemContainer *items; private: gcn::Button *useButton, *dropButton; int useItem(int index, int id); - int dropItem(int index, int quantity); void unequipItem(int index); }; |