summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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