diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-07 17:21:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-07 17:21:56 +0300 |
commit | e3f53de7742609f7354869b066076e17f9774a11 (patch) | |
tree | e9c5b498eb9f890fb7ae3479b78eac37aefbd67e | |
parent | d18a2a0ed390162b771fea7d4c101f37f6be247a (diff) | |
download | plus-e3f53de7742609f7354869b066076e17f9774a11.tar.gz plus-e3f53de7742609f7354869b066076e17f9774a11.tar.bz2 plus-e3f53de7742609f7354869b066076e17f9774a11.tar.xz plus-e3f53de7742609f7354869b066076e17f9774a11.zip |
eathena: fix packet SMSG_WHISPER_RESPONSE 0x09df.
-rw-r--r-- | src/net/eathena/chathandler.cpp | 1 | ||||
-rw-r--r-- | src/net/eathena/packets.h | 2 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index 5e1a0679e..ad8c3bcdc 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -334,6 +334,7 @@ void ChatHandler::processWhisperResponse(Net::MessageIn &msg) BLOCK_START("ChatHandler::processWhisperResponse") const uint8_t type = msg.readUInt8("response"); + msg.readInt32("unknown"); processWhisperResponseContinue(type); } diff --git a/src/net/eathena/packets.h b/src/net/eathena/packets.h index eb16509cf..4196f72ad 100644 --- a/src/net/eathena/packets.h +++ b/src/net/eathena/packets.h @@ -253,7 +253,7 @@ int16_t packet_lengths[] = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // #0x09C0 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //0 1 2 3 4 5 6 7 8 9 a b c d e f diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index 396b30214..5a80fce68 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -124,7 +124,7 @@ #define SMSG_NPC_STR_INPUT 0x01d4 /**< String input */ #define SMSG_PLAYER_CHAT 0x008e /**< Player talks */ #define SMSG_WHISPER 0x0097 /**< Whisper Recieved */ -#define SMSG_WHISPER_RESPONSE 0x0098 +#define SMSG_WHISPER_RESPONSE 0x09df #define SMSG_GM_CHAT 0x009a /**< GM announce */ #define SMSG_WALK_RESPONSE 0x0087 |