diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-22 22:15:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-22 22:15:50 +0300 |
commit | 92eb0630eb067fbe0a18edb93a02f6fd424c3212 (patch) | |
tree | 8dc535f94f3fbf26979905f583af92ecb95f166f /src/gui/popups/popupmenu.cpp | |
parent | 917235b0e5ffd8e8e7ec32ea65ca537f0217b954 (diff) | |
download | mv-92eb0630eb067fbe0a18edb93a02f6fd424c3212.tar.gz mv-92eb0630eb067fbe0a18edb93a02f6fd424c3212.tar.bz2 mv-92eb0630eb067fbe0a18edb93a02f6fd424c3212.tar.xz mv-92eb0630eb067fbe0a18edb93a02f6fd424c3212.zip |
Add chat command for drop pet's loot.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 6 |
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(); |