summaryrefslogtreecommitdiff
path: root/src/net/eathena/itemrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-01-16 21:40:04 +0300
committerAndrei Karas <akaras@inbox.ru>2018-01-16 21:40:04 +0300
commit4f8a0f6e11f32b17c45cb4214fbb83e9a1c8cd1e (patch)
tree27dc645ef6b4b5fd33cdeaf72f5ba78453b1ecc4 /src/net/eathena/itemrecv.cpp
parent5c4c66c0873e2b21d87929ab7e3389883c4ee074 (diff)
downloadmanaplus-4f8a0f6e11f32b17c45cb4214fbb83e9a1c8cd1e.tar.gz
manaplus-4f8a0f6e11f32b17c45cb4214fbb83e9a1c8cd1e.tar.bz2
manaplus-4f8a0f6e11f32b17c45cb4214fbb83e9a1c8cd1e.tar.xz
manaplus-4f8a0f6e11f32b17c45cb4214fbb83e9a1c8cd1e.zip
Add packet SMSG_ITEM_DROPPED 0x0add for zero clients.s20180116
Diffstat (limited to 'src/net/eathena/itemrecv.cpp')
-rw-r--r--src/net/eathena/itemrecv.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/itemrecv.cpp b/src/net/eathena/itemrecv.cpp
index 6fbabb675..96c4245c8 100644
--- a/src/net/eathena/itemrecv.cpp
+++ b/src/net/eathena/itemrecv.cpp
@@ -32,6 +32,8 @@
#include "debug.h"
+extern bool packets_zero;
+
namespace EAthena
{
@@ -49,6 +51,11 @@ 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)
+ {
+ msg.readUInt8("show drop effect");
+ msg.readInt16("show effect mode");
+ }
if (actorManager != nullptr)
{