diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-14 00:24:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-14 00:24:26 +0300 |
commit | 69348d6158802801a626938d5ced85807fd514d8 (patch) | |
tree | 647dc95866ef2ef2d9d1c112459a8ce9f321bcfe /src/net/tmwa | |
parent | 8438ad4513e9aa2af4b42317aa05358e36f06e98 (diff) | |
download | manaplus-69348d6158802801a626938d5ced85807fd514d8.tar.gz manaplus-69348d6158802801a626938d5ced85807fd514d8.tar.bz2 manaplus-69348d6158802801a626938d5ced85807fd514d8.tar.xz manaplus-69348d6158802801a626938d5ced85807fd514d8.zip |
eathena: fix packet SMSG_PARTY_INVITED 0x02c6.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/partyhandler.cpp | 3 | ||||
-rw-r--r-- | src/net/tmwa/partyhandler.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/net/tmwa/partyhandler.cpp b/src/net/tmwa/partyhandler.cpp index 5762503c7..fac29f8f3 100644 --- a/src/net/tmwa/partyhandler.cpp +++ b/src/net/tmwa/partyhandler.cpp @@ -133,6 +133,7 @@ void PartyHandler::invite(const std::string &name) const } void PartyHandler::inviteResponse(const std::string &inviter A_UNUSED, + const int partyId A_UNUSED, const bool accept) const { if (localPlayer) @@ -400,7 +401,7 @@ void PartyHandler::processPartyInvited(Net::MessageIn &msg) } if (socialWindow) - socialWindow->showPartyInvite(partyName, nick); + socialWindow->showPartyInvite(partyName, nick, 0); } } // namespace TmwAthena diff --git a/src/net/tmwa/partyhandler.h b/src/net/tmwa/partyhandler.h index a29f03718..4baeada71 100644 --- a/src/net/tmwa/partyhandler.h +++ b/src/net/tmwa/partyhandler.h @@ -45,6 +45,7 @@ class PartyHandler final : public MessageHandler, public Ea::PartyHandler void invite(const std::string &name) const override final; void inviteResponse(const std::string &inviter, + const int partyId, const bool accept) const override final; void leave() const override final; |