summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-07 02:35:36 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-07 02:35:36 +0300
commit4429cb14e9e187edef27aba692a4266733f79c17 (patch)
treef73bb06c11830679d3da30e9cff42f41d5984f86
parentcca9832fbd9139ed1aa1c7c4e2215acee4541ddc (diff)
downloadplus-4429cb14e9e187edef27aba692a4266733f79c17.tar.gz
plus-4429cb14e9e187edef27aba692a4266733f79c17.tar.bz2
plus-4429cb14e9e187edef27aba692a4266733f79c17.tar.xz
plus-4429cb14e9e187edef27aba692a4266733f79c17.zip
Read whole SMSG_BEING_RESURRECT if being not exists.
-rw-r--r--src/net/eathena/beingrecv.cpp1
-rw-r--r--src/net/tmwa/beingrecv.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp
index 3bd051d79..816b8913b 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -1270,6 +1270,7 @@ void BeingRecv::processBeingResurrect(Net::MessageIn &msg)
Being *const dstBeing = actorManager->findBeing(id);
if (!dstBeing)
{
+ DEBUGLOGSTR("insible player?");
BLOCK_END("BeingRecv::processBeingResurrect")
return;
}
diff --git a/src/net/tmwa/beingrecv.cpp b/src/net/tmwa/beingrecv.cpp
index dacc68682..93d4a41dc 100644
--- a/src/net/tmwa/beingrecv.cpp
+++ b/src/net/tmwa/beingrecv.cpp
@@ -1219,6 +1219,8 @@ void BeingRecv::processBeingResurrect(Net::MessageIn &msg)
Being *const dstBeing = actorManager->findBeing(id);
if (!dstBeing)
{
+ DEBUGLOGSTR("insible player?");
+ msg.readUInt8("flag?");
BLOCK_END("BeingRecv::processBeingResurrect")
return;
}