summaryrefslogtreecommitdiff
path: root/src/net/eathena/beingrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-20 19:51:37 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-20 19:51:37 +0300
commitb43d3d71666161d9276440727082cc1508741280 (patch)
tree0b1cd55f664436a5e20fff88889f12b6839719f2 /src/net/eathena/beingrecv.cpp
parent7511f401cb5e76c8f42ad703ef156cc0e7619353 (diff)
downloadplus-b43d3d71666161d9276440727082cc1508741280.tar.gz
plus-b43d3d71666161d9276440727082cc1508741280.tar.bz2
plus-b43d3d71666161d9276440727082cc1508741280.tar.xz
plus-b43d3d71666161d9276440727082cc1508741280.zip
Update being packets for packet version >= 20150513.
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 8be5df894..316ed2896 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -413,7 +413,10 @@ void BeingRecv::processBeingVisible(Net::MessageIn &msg)
msg.readInt8("is boss");
if (packetVersion >= 20150513)
+ {
msg.readInt16("body2");
+ msg.readString(24, "name");
+ }
dstBeing->setStunMode(stunMode);
dstBeing->setStatusEffectBlock(0, CAST_U16(
@@ -591,7 +594,10 @@ void BeingRecv::processBeingMove(Net::MessageIn &msg)
msg.readInt8("is boss");
if (packetVersion >= 20150513)
+ {
msg.readInt16("body2");
+ msg.readString(24, "name");
+ }
dstBeing->setStunMode(stunMode);
dstBeing->setStatusEffectBlock(0, CAST_U16(
@@ -749,7 +755,10 @@ void BeingRecv::processBeingSpawn(Net::MessageIn &msg)
msg.readInt8("is boss");
if (packetVersion >= 20150513)
+ {
msg.readInt16("body2");
+ msg.readString(24, "name");
+ }
dstBeing->setStunMode(stunMode);
dstBeing->setStatusEffectBlock(0, CAST_U16(