diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-12 13:09:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-12 13:09:19 +0300 |
commit | f9313f7f26efa7dbf9d5bc8036833c94b04ea08c (patch) | |
tree | f334711d1cbdbf21d5e486a3eefbe863f40dd5c5 | |
parent | ba66d798fe5178e7b7965b7cca1b0e351f07aa4e (diff) | |
download | manaverse-f9313f7f26efa7dbf9d5bc8036833c94b04ea08c.tar.gz manaverse-f9313f7f26efa7dbf9d5bc8036833c94b04ea08c.tar.bz2 manaverse-f9313f7f26efa7dbf9d5bc8036833c94b04ea08c.tar.xz manaverse-f9313f7f26efa7dbf9d5bc8036833c94b04ea08c.zip |
Remove "imitation" popup menu handler.
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index bc16aee86..fabf42eb7 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -981,13 +981,8 @@ void PopupMenu::handleLink(const std::string &link, if (actorManager) being = actorManager->findBeing(mBeingId); - if (link == "imitation" && !mNick.empty()) - { - if (localPlayer) - localPlayer->setImitate(mNick); - } // Pick Up Floor Item action - else if ((link == "pickup") && mFloorItemId) + if ((link == "pickup") && mFloorItemId) { if (localPlayer && actorManager) { @@ -2650,7 +2645,7 @@ void PopupMenu::addFollow() } // TRANSLATORS: popup menu item // TRANSLATORS: imitate player - mBrowserBox->addRow("imitation", _("Imitation")); + mBrowserBox->addRow("/imitation 'NAME'", _("Imitation")); } void PopupMenu::addBuySell(const Being *const being) |