summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r--src/gui/popupmenu.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp
index 0b019fef..5b5b2b8c 100644
--- a/src/gui/popupmenu.cpp
+++ b/src/gui/popupmenu.cpp
@@ -284,11 +284,13 @@ void PopupMenu::handleLink(const std::string &link)
else if (link == "split")
{
- new ItemAmountWindow(AMOUNT_ITEM_SPLIT, inventoryWindow, mItem);
+ new ItemAmountWindow(ItemAmountWindow::ItemSplit,
+ inventoryWindow, mItem);
}
else if (link == "drop")
{
- new ItemAmountWindow(AMOUNT_ITEM_DROP, inventoryWindow, mItem);
+ new ItemAmountWindow(ItemAmountWindow::ItemDrop,
+ inventoryWindow, mItem);
}
#ifdef EATHENA_SUPPORT
else if (link == "party-invite" &&