diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-06 20:02:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-06 20:03:30 +0300 |
commit | 7ea9fbb2c802980c0a9315372c500f73b8de1bcf (patch) | |
tree | a5da30fc71cb35c4676550407b59362477c097dc /src/net | |
parent | 4194c632d90b144595422abe4aab308e7928511a (diff) | |
download | manaverse-7ea9fbb2c802980c0a9315372c500f73b8de1bcf.tar.gz manaverse-7ea9fbb2c802980c0a9315372c500f73b8de1bcf.tar.bz2 manaverse-7ea9fbb2c802980c0a9315372c500f73b8de1bcf.tar.xz manaverse-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')
-rw-r--r-- | src/net/eathena/beingrecv.cpp | 9 |
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"); } |