From 7ea9fbb2c802980c0a9315372c500f73b8de1bcf Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 6 Mar 2017 20:02:10 +0300 Subject: Fix packets for updated hercules. All manaplus builds before this commits will show warnings in debug tab if run with new hercules. --- src/net/eathena/beingrecv.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp index a736c8884..58f297abd 100644 --- a/src/net/eathena/beingrecv.cpp +++ b/src/net/eathena/beingrecv.cpp @@ -498,6 +498,9 @@ void BeingRecv::processBeingVisible(Net::MessageIn &msg) if (msg.getVersion() >= 20150513) { msg.readInt16("body2"); + } + if (msg.getVersion() >= 20131223) + { msg.readString(24, "name"); } @@ -724,6 +727,9 @@ void BeingRecv::processBeingMove(Net::MessageIn &msg) if (msg.getVersion() >= 20150513) { msg.readInt16("body2"); + } + if (msg.getVersion() >= 20131223) + { msg.readString(24, "name"); } @@ -925,6 +931,9 @@ void BeingRecv::processBeingSpawn(Net::MessageIn &msg) if (msg.getVersion() >= 20150513) { msg.readInt16("body2"); + } + if (msg.getVersion() >= 20131223) + { msg.readString(24, "name"); } -- cgit v1.2.3-60-g2f50