diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-07 02:31:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-07 02:31:33 +0300 |
commit | cca9832fbd9139ed1aa1c7c4e2215acee4541ddc (patch) | |
tree | 878142508091a75d51cf5e1b4f822df51ae1f46b /src/net | |
parent | 2492b561385859b7ef76fe816a8dc845f0b9bd09 (diff) | |
download | manaplus-cca9832fbd9139ed1aa1c7c4e2215acee4541ddc.tar.gz manaplus-cca9832fbd9139ed1aa1c7c4e2215acee4541ddc.tar.bz2 manaplus-cca9832fbd9139ed1aa1c7c4e2215acee4541ddc.tar.xz manaplus-cca9832fbd9139ed1aa1c7c4e2215acee4541ddc.zip |
Read whole SMSG_BEING_SELFEFFECT packet if being not exists.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/beingrecv.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/beingrecv.cpp | 2 |
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; } |