diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-22 21:57:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-22 21:57:15 +0300 |
commit | 917235b0e5ffd8e8e7ec32ea65ca537f0217b954 (patch) | |
tree | 547e6c6ec98080de98919214ca04a388239baede /src/gui | |
parent | 0f6dad4c14f1f87797f903d8b4c4b87dcbc6a907 (diff) | |
download | plus-917235b0e5ffd8e8e7ec32ea65ca537f0217b954.tar.gz plus-917235b0e5ffd8e8e7ec32ea65ca537f0217b954.tar.bz2 plus-917235b0e5ffd8e8e7ec32ea65ca537f0217b954.tar.xz plus-917235b0e5ffd8e8e7ec32ea65ca537f0217b954.zip |
Add chat command for feed pet.
Diffstat (limited to 'src/gui')
-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 1281a8d2c..866b8b3bd 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -377,7 +377,7 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being) { // TRANSLATORS: popup menu item // TRANSLATORS: feed pet - mBrowserBox->addRow("pet feed", _("Feed")); + mBrowserBox->addRow("/petfeed", _("Feed")); // TRANSLATORS: popup menu item // TRANSLATORS: pet drop loot mBrowserBox->addRow("pet drop loot", _("Drop loot")); @@ -1302,10 +1302,6 @@ void PopupMenu::handleLink(const std::string &link, showCraftPopup(); return; } - else if (link == "pet feed") - { - petHandler->feed(); - } else if (link == "pet drop loot") { petHandler->dropLoot(); |