summaryrefslogtreecommitdiff
path: root/src/gui/item_amount.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/item_amount.cpp')
-rw-r--r--src/gui/item_amount.cpp8
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);