diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-22 23:45:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-22 23:45:17 +0300 |
commit | 90fbaa6e372c6ae64b218dfd927c18c6f5ab941d (patch) | |
tree | 91fd1322563093dd4f111d109066fe7caa3c228f /src/gui/popups | |
parent | 3c51082082397b0564a224214249a096750b56c6 (diff) | |
download | plus-90fbaa6e372c6ae64b218dfd927c18c6f5ab941d.tar.gz plus-90fbaa6e372c6ae64b218dfd927c18c6f5ab941d.tar.bz2 plus-90fbaa6e372c6ae64b218dfd927c18c6f5ab941d.tar.xz plus-90fbaa6e372c6ae64b218dfd927c18c6f5ab941d.zip |
Add chat command for unequip pet equipment.
Diffstat (limited to 'src/gui/popups')
-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 d610182e6..e3ab6d81f 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -383,7 +383,7 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being) mBrowserBox->addRow("/petdroploot", _("Drop loot")); // TRANSLATORS: popup menu item // TRANSLATORS: pet unequip item - mBrowserBox->addRow("pet unequip", _("Unequip")); + mBrowserBox->addRow("/petunequip", _("Unequip")); addGmCommands(); mBrowserBox->addRow("##3---"); // TRANSLATORS: popup menu item @@ -1303,10 +1303,6 @@ void PopupMenu::handleLink(const std::string &link, showCraftPopup(); return; } - else if (link == "pet unequip") - { - petHandler->unequip(); - } else if (link.compare(0, 10, "guild-pos-") == 0) { if (localPlayer != nullptr) |