summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-14 00:24:26 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-14 00:24:26 +0300
commit69348d6158802801a626938d5ced85807fd514d8 (patch)
tree647dc95866ef2ef2d9d1c112459a8ce9f321bcfe /src/net/tmwa
parent8438ad4513e9aa2af4b42317aa05358e36f06e98 (diff)
downloadmv-69348d6158802801a626938d5ced85807fd514d8.tar.gz
mv-69348d6158802801a626938d5ced85807fd514d8.tar.bz2
mv-69348d6158802801a626938d5ced85807fd514d8.tar.xz
mv-69348d6158802801a626938d5ced85807fd514d8.zip
eathena: fix packet SMSG_PARTY_INVITED 0x02c6.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/partyhandler.cpp3
-rw-r--r--src/net/tmwa/partyhandler.h1
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;