diff options
author | David Athay <ko2fan@gmail.com> | 2008-07-07 14:34:40 +0000 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2008-07-07 14:34:40 +0000 |
commit | 9bf9b2c706290b61af0f66f11ff1b3cd37d72904 (patch) | |
tree | 613af16c659de454217ce69ed819789d5f35a427 /src/localplayer.cpp | |
parent | 183bc340bd3e062a4c6df4d66cc2843582bcec94 (diff) | |
download | mana-client-9bf9b2c706290b61af0f66f11ff1b3cd37d72904.tar.gz mana-client-9bf9b2c706290b61af0f66f11ff1b3cd37d72904.tar.bz2 mana-client-9bf9b2c706290b61af0f66f11ff1b3cd37d72904.tar.xz mana-client-9bf9b2c706290b61af0f66f11ff1b3cd37d72904.zip |
Added /party command.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 4 |
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() |