From 7e17bd4af4609a4106dab910b4741800eadf3ff5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 2 Apr 2018 23:07:09 +0300 Subject: Read whole packet in BeingRecv::processBeingSpecialEffect even if being not found. --- src/net/eathena/beingrecv.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/net/eathena/beingrecv.cpp') diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp index 535f65091..4fdcf7ad3 100644 --- a/src/net/eathena/beingrecv.cpp +++ b/src/net/eathena/beingrecv.cpp @@ -1450,7 +1450,10 @@ void BeingRecv::processBeingSpecialEffect(Net::MessageIn &msg) const BeingId id = msg.readBeingId("being id"); Being *const being = actorManager->findBeing(id); if (being == nullptr) + { + msg.readInt32("effect type"); return; + } const int effectType = msg.readInt32("effect type"); -- cgit v1.2.3-60-g2f50