From 6fc7588ac000fbe5132ea81017cfd360c3566a06 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 4 May 2018 20:19:01 +0300 Subject: Add packets 0x08bb SMSG_CHAR_PINCODE_MAKE_STATUS and 0x08bf SMSG_CHAR_PINCODE_EDIT_STATUS. Also add new drop packet for non zero protocol. --- src/net/eathena/itemrecv.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/net/eathena/itemrecv.cpp') 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"); -- cgit v1.2.3-70-g09d2