summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-12 12:40:04 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-12 12:40:04 +0300
commitba66d798fe5178e7b7965b7cca1b0e351f07aa4e (patch)
tree4e0116d55c08d3fb6583eed7646d92d72fa311f3 /src/gui
parenteda8a2e6bd872af5a4e53f7b517ce2a57e5db246 (diff)
downloadmanaverse-ba66d798fe5178e7b7965b7cca1b0e351f07aa4e.tar.gz
manaverse-ba66d798fe5178e7b7965b7cca1b0e351f07aa4e.tar.bz2
manaverse-ba66d798fe5178e7b7965b7cca1b0e351f07aa4e.tar.xz
manaverse-ba66d798fe5178e7b7965b7cca1b0e351f07aa4e.zip
Remove "follow" popup menu handler.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/popups/popupmenu.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 9fed214d9..bc16aee86 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -981,13 +981,7 @@ void PopupMenu::handleLink(const std::string &link,
if (actorManager)
being = actorManager->findBeing(mBeingId);
- // Follow Player action
- if (link == "follow" && !mNick.empty())
- {
- if (localPlayer)
- localPlayer->setFollow(mNick);
- }
- else if (link == "imitation" && !mNick.empty())
+ if (link == "imitation" && !mNick.empty())
{
if (localPlayer)
localPlayer->setImitate(mNick);
@@ -2652,7 +2646,7 @@ void PopupMenu::addFollow()
if (features.getBoolValue("allowFollow"))
{
// TRANSLATORS: popup menu item
- mBrowserBox->addRow("follow", _("Follow"));
+ mBrowserBox->addRow("/follow 'NAME'", _("Follow"));
}
// TRANSLATORS: popup menu item
// TRANSLATORS: imitate player