diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-13 22:08:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-13 22:08:50 +0300 |
commit | 21c3f5de7d6a0e4825383948080fd208639ccae4 (patch) | |
tree | 24545cba2c8881958c5d49ffd971dfd73a3a8c35 | |
parent | 44b9b11f8dd4de47aaf98657d85a6b1d03d8de25 (diff) | |
download | manaplus-21c3f5de7d6a0e4825383948080fd208639ccae4.tar.gz manaplus-21c3f5de7d6a0e4825383948080fd208639ccae4.tar.bz2 manaplus-21c3f5de7d6a0e4825383948080fd208639ccae4.tar.xz manaplus-21c3f5de7d6a0e4825383948080fd208639ccae4.zip |
Remove "party" popup menu handler.
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 261968739..ed8adbe1c 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -982,13 +982,8 @@ void PopupMenu::handleLink(const std::string &link, if (actorManager) being = actorManager->findBeing(mBeingId); - if (link == "party" && being && - being->getType() == ActorType::Player) - { - partyHandler->invite(being->getName()); - } - else if (link == "kick party" && being - && being->getType() == ActorType::Player) + if (link == "kick party" && being + && being->getType() == ActorType::Player) { partyHandler->kick(being); } @@ -2464,7 +2459,7 @@ void PopupMenu::addPartyName(const std::string &partyName) { // TRANSLATORS: popup menu item // TRANSLATORS: invite player to party - mBrowserBox->addRow("party", _("Invite to party")); + mBrowserBox->addRow("/party 'NAME'", _("Invite to party")); } else { @@ -2488,7 +2483,7 @@ void PopupMenu::addParty(const std::string &nick) { // TRANSLATORS: popup menu item // TRANSLATORS: invite player to party - mBrowserBox->addRow("party", _("Invite to party")); + mBrowserBox->addRow("/party 'NAME'", _("Invite to party")); } else { |