diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-11-11 14:46:33 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-11-11 14:46:33 +0000 |
commit | df55cebf829f1d75e8354646d53c842f4468aa56 (patch) | |
tree | 35dd7a7e10593b0c270c226729d5e6fa719c93e7 /src/gui/item_amount.cpp | |
parent | 840ad21b50930cfc18f321dce58234aaa9d216a0 (diff) | |
download | mana-client-df55cebf829f1d75e8354646d53c842f4468aa56.tar.gz mana-client-df55cebf829f1d75e8354646d53c842f4468aa56.tar.bz2 mana-client-df55cebf829f1d75e8354646d53c842f4468aa56.tar.xz mana-client-df55cebf829f1d75e8354646d53c842f4468aa56.zip |
Moved check on dropping 1 item to the inventory dialog.
Diffstat (limited to 'src/gui/item_amount.cpp')
-rw-r--r-- | src/gui/item_amount.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gui/item_amount.cpp b/src/gui/item_amount.cpp index 801a9ce8..f72462f9 100644 --- a/src/gui/item_amount.cpp +++ b/src/gui/item_amount.cpp @@ -35,14 +35,6 @@ ItemAmountWindow::ItemAmountWindow(int usage, Window *parent, Item *item): Window("Select amount of items to drop.", true, parent), mItem(item) { - //when there is only one item on the stack skip the dialog - if (mItem->getQuantity() == 1) - { - player_node->dropItem(mItem, 1); - scheduleDelete(); - return; - }; - // New labels mItemAmountTextBox = new IntTextBox(1); |