summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-10 18:24:38 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-10 18:24:38 +0300
commitab07e8d1c5525d9bcbd3669a874d061cbc0236da (patch)
tree37f30f7e577d3b7013a32165e04f6647674002ef /src/gui/popups/popupmenu.cpp
parent143ec36c93ea41b4516b5c8b99f021b8bec79164 (diff)
downloadmanaverse-ab07e8d1c5525d9bcbd3669a874d061cbc0236da.tar.gz
manaverse-ab07e8d1c5525d9bcbd3669a874d061cbc0236da.tar.bz2
manaverse-ab07e8d1c5525d9bcbd3669a874d061cbc0236da.tar.xz
manaverse-ab07e8d1c5525d9bcbd3669a874d061cbc0236da.zip
In popup manager rename function addParty into addPartyName.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r--src/gui/popups/popupmenu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 14f3cf495..ed3d82dde 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -177,7 +177,7 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being)
mBrowserBox->addRow("##3---");
addFollow();
- addParty(being->getPartyName());
+ addPartyName(being->getPartyName());
const Guild *const guild1 = being->getGuild();
const Guild *const guild2 = localPlayer->getGuild();
@@ -1312,7 +1312,7 @@ void PopupMenu::handleLink(const std::string &link,
else if (link == "party" && being &&
being->getType() == ActorType::PLAYER)
{
- Net::getPartyHandler()->invite(being);
+ Net::getPartyHandler()->invite(being->getName());
}
else if (link == "kick party" && being
&& being->getType() == ActorType::PLAYER)
@@ -2704,7 +2704,7 @@ void PopupMenu::addBuySellDefault()
}
}
-void PopupMenu::addParty(const std::string &partyName)
+void PopupMenu::addPartyName(const std::string &partyName)
{
if (localPlayer->isInParty())
{