summaryrefslogtreecommitdiff
path: root/src/net/eathena/partyhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-10 19:04:44 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-10 19:04:44 +0300
commit732903900991f5b6e6ab5732b4c25bf409d3b39e (patch)
treeff46116d38df344376b00618b128e10a35e976ac /src/net/eathena/partyhandler.cpp
parent35d57a3a16ad548b02aba48297160c4d8b32df4c (diff)
downloadmanaverse-732903900991f5b6e6ab5732b4c25bf409d3b39e.tar.gz
manaverse-732903900991f5b6e6ab5732b4c25bf409d3b39e.tar.bz2
manaverse-732903900991f5b6e6ab5732b4c25bf409d3b39e.tar.xz
manaverse-732903900991f5b6e6ab5732b4c25bf409d3b39e.zip
eathena: add CMSG_PARTY_INVITED2 0x02c7.
Diffstat (limited to 'src/net/eathena/partyhandler.cpp')
-rw-r--r--src/net/eathena/partyhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp
index f4bb882b3..3828156a5 100644
--- a/src/net/eathena/partyhandler.cpp
+++ b/src/net/eathena/partyhandler.cpp
@@ -148,9 +148,9 @@ void PartyHandler::inviteResponse(const std::string &inviter A_UNUSED,
{
if (localPlayer)
{
- MessageOut outMsg(CMSG_PARTY_INVITED);
+ MessageOut outMsg(CMSG_PARTY_INVITED2);
outMsg.writeInt32(localPlayer->getId());
- outMsg.writeInt32(accept ? 1 : 0);
+ outMsg.writeInt8(accept ? 1 : 0);
}
}