From 69348d6158802801a626938d5ced85807fd514d8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Dec 2014 00:24:26 +0300 Subject: eathena: fix packet SMSG_PARTY_INVITED 0x02c6. --- src/net/tmwa/partyhandler.cpp | 3 ++- src/net/tmwa/partyhandler.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/net/tmwa') 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; -- cgit v1.2.3-70-g09d2