summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2008-07-07 14:34:40 +0000
committerDavid Athay <ko2fan@gmail.com>2008-07-07 14:34:40 +0000
commit9bf9b2c706290b61af0f66f11ff1b3cd37d72904 (patch)
tree613af16c659de454217ce69ed819789d5f35a427 /src/localplayer.cpp
parent183bc340bd3e062a4c6df4d66cc2843582bcec94 (diff)
downloadmana-9bf9b2c706290b61af0f66f11ff1b3cd37d72904.tar.gz
mana-9bf9b2c706290b61af0f66f11ff1b3cd37d72904.tar.bz2
mana-9bf9b2c706290b61af0f66f11ff1b3cd37d72904.tar.xz
mana-9bf9b2c706290b61af0f66f11ff1b3cd37d72904.zip
Added /party command.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index dbcb1d42..00ea6a49 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -149,9 +149,9 @@ void LocalPlayer::inviteToGuild(Being *being)
}
}
-void LocalPlayer::inviteToParty(Being *being)
+void LocalPlayer::inviteToParty(const std::string &name)
{
- Net::ChatServer::Party::invitePlayer(being->getName());
+ Net::ChatServer::Party::invitePlayer(name);
}
void LocalPlayer::clearInventory()