summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.cpp
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2010-10-04 21:02:59 -0400
committerChuck Miller <shadowmil@gmail.com>2010-10-04 21:17:08 -0400
commit89f192b9039f9c000515f0a12f4bb9fb55c4691c (patch)
tree5d5ae12f7e77921a80082abdf3ec6acc705192c7 /src/gui/popupmenu.cpp
parent6f25f5d9390ae247970ad886dc51d55435285831 (diff)
downloadmana-client-89f192b9039f9c000515f0a12f4bb9fb55c4691c.tar.gz
mana-client-89f192b9039f9c000515f0a12f4bb9fb55c4691c.tar.bz2
mana-client-89f192b9039f9c000515f0a12f4bb9fb55c4691c.tar.xz
mana-client-89f192b9039f9c000515f0a12f4bb9fb55c4691c.zip
Remove the following system
The implamentation is poor, and this is something that would be better handled by the addon engine later down the road. Reviewed-By: Freeyorp < Freeyorp101@hotmail.com >
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r--src/gui/popupmenu.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp
index e2257388..3d389374 100644
--- a/src/gui/popupmenu.cpp
+++ b/src/gui/popupmenu.cpp
@@ -125,9 +125,6 @@ void PopupMenu::showPopup(int x, int y, Being *being)
break;
}
- mBrowserBox->addRow(strprintf("@@follow|%s@@",
- strprintf(_("Follow %s"),
- name.c_str()).c_str()));
if (player_node->getNumberOfGuilds())
mBrowserBox->addRow(strprintf("@@guild|%s@@",
strprintf(_("Invite %s to join your guild"),
@@ -255,12 +252,6 @@ void PopupMenu::handleLink(const std::string &link)
player_node->inviteToGuild(being);
}
- // Follow Player action
- else if (link == "follow" && being)
- {
- player_node->setFollow(being->getName());
- }
-
// Pick Up Floor Item action
else if ((link == "pickup") && mFloorItem)
{