diff options
author | Chuck Miller <shadowmil@gmail.com> | 2010-10-04 21:02:59 -0400 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2010-10-04 21:17:08 -0400 |
commit | 89f192b9039f9c000515f0a12f4bb9fb55c4691c (patch) | |
tree | 5d5ae12f7e77921a80082abdf3ec6acc705192c7 /src/gui | |
parent | 6f25f5d9390ae247970ad886dc51d55435285831 (diff) | |
download | mana-89f192b9039f9c000515f0a12f4bb9fb55c4691c.tar.gz mana-89f192b9039f9c000515f0a12f4bb9fb55c4691c.tar.bz2 mana-89f192b9039f9c000515f0a12f4bb9fb55c4691c.tar.xz mana-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')
-rw-r--r-- | src/gui/popupmenu.cpp | 9 | ||||
-rw-r--r-- | src/gui/viewport.cpp | 1 |
2 files changed, 0 insertions, 10 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) { diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 972920a5..0209b13f 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -413,7 +413,6 @@ void Viewport::mousePressed(gcn::MouseEvent &event) else { player_node->stopAttack(); - player_node->cancelFollow(); mPlayerFollowMouse = true; // Make the player go to the mouse position |