diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-05-04 20:19:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-05-04 20:19:41 +0300 |
commit | 6fc7588ac000fbe5132ea81017cfd360c3566a06 (patch) | |
tree | dee692cb916bd3ab388a650726a649eb4ad52680 /src/net/eathena/itemrecv.cpp | |
parent | 1415b89614adca023caafd98a66adee716bc9299 (diff) | |
download | plus-6fc7588ac000fbe5132ea81017cfd360c3566a06.tar.gz plus-6fc7588ac000fbe5132ea81017cfd360c3566a06.tar.bz2 plus-6fc7588ac000fbe5132ea81017cfd360c3566a06.tar.xz plus-6fc7588ac000fbe5132ea81017cfd360c3566a06.zip |
Add packets 0x08bb SMSG_CHAR_PINCODE_MAKE_STATUS and 0x08bf SMSG_CHAR_PINCODE_EDIT_STATUS.
Also add new drop packet for non zero protocol.
Diffstat (limited to 'src/net/eathena/itemrecv.cpp')
-rw-r--r-- | src/net/eathena/itemrecv.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/eathena/itemrecv.cpp b/src/net/eathena/itemrecv.cpp index 96c4245c8..9b8fb3400 100644 --- a/src/net/eathena/itemrecv.cpp +++ b/src/net/eathena/itemrecv.cpp @@ -32,6 +32,7 @@ #include "debug.h" +extern int packetVersion; extern bool packets_zero; namespace EAthena @@ -51,7 +52,7 @@ void ItemRecv::processItemDropped(Net::MessageIn &msg) const int subX = CAST_S32(msg.readInt8("subx")); const int subY = CAST_S32(msg.readInt8("suby")); const int amount = msg.readInt16("count"); - if (packets_zero) + if (packets_zero || packetVersion >= 20180418) { msg.readUInt8("show drop effect"); msg.readInt16("show effect mode"); |