summaryrefslogtreecommitdiff
path: root/src
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
parent35d57a3a16ad548b02aba48297160c4d8b32df4c (diff)
downloadplus-732903900991f5b6e6ab5732b4c25bf409d3b39e.tar.gz
plus-732903900991f5b6e6ab5732b4c25bf409d3b39e.tar.bz2
plus-732903900991f5b6e6ab5732b4c25bf409d3b39e.tar.xz
plus-732903900991f5b6e6ab5732b4c25bf409d3b39e.zip
eathena: add CMSG_PARTY_INVITED2 0x02c7.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/partyhandler.cpp4
-rw-r--r--src/net/eathena/protocol.h1
2 files changed, 3 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);
}
}
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