From 732903900991f5b6e6ab5732b4c25bf409d3b39e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Sep 2014 19:04:44 +0300 Subject: eathena: add CMSG_PARTY_INVITED2 0x02c7. --- src/net/eathena/partyhandler.cpp | 4 ++-- src/net/eathena/protocol.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/net') 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); } } diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index 15bfcbf3c..65105118d 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -277,6 +277,7 @@ #define CMSG_PARTY_INVITE 0x00fc #define CMSG_PARTY_INVITE2 0x08a9 #define CMSG_PARTY_INVITED 0x00ff +#define CMSG_PARTY_INVITED2 0x02c7 #define CMSG_PARTY_LEAVE 0x0100 #define CMSG_PARTY_SETTINGS 0x0102 #define CMSG_PARTY_KICK 0x0103 -- cgit v1.2.3-70-g09d2