summaryrefslogtreecommitdiff
path: root/src/net/tmwa/partyhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-10 21:13:14 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-10 21:13:14 +0300
commit783aacf002d7f01d1be0ee46e4f42e8c31632c2e (patch)
treeabbc5fcd75380dd5c62a2d0240e8c83d87be95aa /src/net/tmwa/partyhandler.h
parentdbc2777989e3646dad554e16acb9c49e9b722adb (diff)
downloadmanaplus-783aacf002d7f01d1be0ee46e4f42e8c31632c2e.tar.gz
manaplus-783aacf002d7f01d1be0ee46e4f42e8c31632c2e.tar.bz2
manaplus-783aacf002d7f01d1be0ee46e4f42e8c31632c2e.tar.xz
manaplus-783aacf002d7f01d1be0ee46e4f42e8c31632c2e.zip
In party handler in changeLeader accept player nick.
Diffstat (limited to 'src/net/tmwa/partyhandler.h')
-rw-r--r--src/net/tmwa/partyhandler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/tmwa/partyhandler.h b/src/net/tmwa/partyhandler.h
index f81c97eed..881f3cf3e 100644
--- a/src/net/tmwa/partyhandler.h
+++ b/src/net/tmwa/partyhandler.h
@@ -61,7 +61,8 @@ class PartyHandler final : public MessageHandler, public Ea::PartyHandler
void setShareItems(const Net::PartyShare::Type
share) const override final;
- void changeLeader(const Being *const being) const override final;
+ void changeLeader(const std::string &name) const override final;
+
protected:
void processPartySettings(Net::MessageIn &msg);