summaryrefslogtreecommitdiff
path: root/src/net/eathena/beingrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-06 20:02:10 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-06 20:03:30 +0300
commit7ea9fbb2c802980c0a9315372c500f73b8de1bcf (patch)
treea5da30fc71cb35c4676550407b59362477c097dc /src/net/eathena/beingrecv.cpp
parent4194c632d90b144595422abe4aab308e7928511a (diff)
downloadplus-7ea9fbb2c802980c0a9315372c500f73b8de1bcf.tar.gz
plus-7ea9fbb2c802980c0a9315372c500f73b8de1bcf.tar.bz2
plus-7ea9fbb2c802980c0a9315372c500f73b8de1bcf.tar.xz
plus-7ea9fbb2c802980c0a9315372c500f73b8de1bcf.zip
Fix packets for updated hercules.
All manaplus builds before this commits will show warnings in debug tab if run with new hercules.
Diffstat (limited to 'src/net/eathena/beingrecv.cpp')
-rw-r--r--src/net/eathena/beingrecv.cpp9
1 files changed, 9 insertions, 0 deletions
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");
}