summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-07 02:31:33 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-07 02:31:33 +0300
commitcca9832fbd9139ed1aa1c7c4e2215acee4541ddc (patch)
tree878142508091a75d51cf5e1b4f822df51ae1f46b /src
parent2492b561385859b7ef76fe816a8dc845f0b9bd09 (diff)
downloadplus-cca9832fbd9139ed1aa1c7c4e2215acee4541ddc.tar.gz
plus-cca9832fbd9139ed1aa1c7c4e2215acee4541ddc.tar.bz2
plus-cca9832fbd9139ed1aa1c7c4e2215acee4541ddc.tar.xz
plus-cca9832fbd9139ed1aa1c7c4e2215acee4541ddc.zip
Read whole SMSG_BEING_SELFEFFECT packet if being not exists.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/beingrecv.cpp2
-rw-r--r--src/net/tmwa/beingrecv.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp
index 35e983296..3bd051d79 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -1371,6 +1371,8 @@ void BeingRecv::processBeingSelfEffect(Net::MessageIn &msg)
Being *const being = actorManager->findBeing(id);
if (!being)
{
+ DEBUGLOGSTR("insible player?");
+ msg.readInt32("effect type");
BLOCK_END("BeingRecv::processBeingSelfEffect")
return;
}
diff --git a/src/net/tmwa/beingrecv.cpp b/src/net/tmwa/beingrecv.cpp
index 1d4fd9648..dacc68682 100644
--- a/src/net/tmwa/beingrecv.cpp
+++ b/src/net/tmwa/beingrecv.cpp
@@ -1283,6 +1283,8 @@ void BeingRecv::processBeingSelfEffect(Net::MessageIn &msg)
Being *const being = actorManager->findBeing(id);
if (!being)
{
+ DEBUGLOGSTR("insible player?");
+ msg.readInt32("effect type");
BLOCK_END("BeingRecv::processBeingSelfEffect")
return;
}