summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-22 22:15:50 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-22 22:15:50 +0300
commit92eb0630eb067fbe0a18edb93a02f6fd424c3212 (patch)
tree8dc535f94f3fbf26979905f583af92ecb95f166f /src/gui/popups
parent917235b0e5ffd8e8e7ec32ea65ca537f0217b954 (diff)
downloadplus-92eb0630eb067fbe0a18edb93a02f6fd424c3212.tar.gz
plus-92eb0630eb067fbe0a18edb93a02f6fd424c3212.tar.bz2
plus-92eb0630eb067fbe0a18edb93a02f6fd424c3212.tar.xz
plus-92eb0630eb067fbe0a18edb93a02f6fd424c3212.zip
Add chat command for drop pet's loot.
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/popupmenu.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 866b8b3bd..0503e6e8f 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -380,7 +380,7 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being)
mBrowserBox->addRow("/petfeed", _("Feed"));
// TRANSLATORS: popup menu item
// TRANSLATORS: pet drop loot
- mBrowserBox->addRow("pet drop loot", _("Drop loot"));
+ mBrowserBox->addRow("/petdroploot", _("Drop loot"));
// TRANSLATORS: popup menu item
// TRANSLATORS: pet unequip item
mBrowserBox->addRow("pet unequip", _("Unequip"));
@@ -1302,10 +1302,6 @@ void PopupMenu::handleLink(const std::string &link,
showCraftPopup();
return;
}
- else if (link == "pet drop loot")
- {
- petHandler->dropLoot();
- }
else if (link == "pet to egg")
{
petHandler->returnToEgg();