diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-04-02 23:07:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-04-02 23:07:09 +0300 |
commit | 7e17bd4af4609a4106dab910b4741800eadf3ff5 (patch) | |
tree | bdf2e36af5792b1cc049d6959687bc4d9d53faec | |
parent | 9e94feb923afe8ce73b6590b73f513dd3895e70b (diff) | |
download | manaverse-7e17bd4af4609a4106dab910b4741800eadf3ff5.tar.gz manaverse-7e17bd4af4609a4106dab910b4741800eadf3ff5.tar.bz2 manaverse-7e17bd4af4609a4106dab910b4741800eadf3ff5.tar.xz manaverse-7e17bd4af4609a4106dab910b4741800eadf3ff5.zip |
Read whole packet in BeingRecv::processBeingSpecialEffect even if being not found.
-rw-r--r-- | src/net/eathena/beingrecv.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp index 535f65091..4fdcf7ad3 100644 --- a/src/net/eathena/beingrecv.cpp +++ b/src/net/eathena/beingrecv.cpp @@ -1450,7 +1450,10 @@ void BeingRecv::processBeingSpecialEffect(Net::MessageIn &msg) const BeingId id = msg.readBeingId("being id"); Being *const being = actorManager->findBeing(id); if (being == nullptr) + { + msg.readInt32("effect type"); return; + } const int effectType = msg.readInt32("effect type"); |