diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-14 20:51:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-14 20:51:18 +0300 |
commit | b53426b0c7651a7f4b727d9a1f2d2ad843ca7470 (patch) | |
tree | 011ec40ee324fcb1c25a7ff42b59d05f3b87492a /src/net/eathena/beinghandler.cpp | |
parent | 664a3cfbd51576334c1ad522d34dd5ed1d141e45 (diff) | |
download | mv-b53426b0c7651a7f4b727d9a1f2d2ad843ca7470.tar.gz mv-b53426b0c7651a7f4b727d9a1f2d2ad843ca7470.tar.bz2 mv-b53426b0c7651a7f4b727d9a1f2d2ad843ca7470.tar.xz mv-b53426b0c7651a7f4b727d9a1f2d2ad843ca7470.zip |
eathena: fix packet SMSG_PLAYER_STATUS_CHANGE 0x0229.
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index 33d86fe8c..02ceb0334 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -1714,8 +1714,8 @@ void BeingHandler::processPlaterStatusChange(Net::MessageIn &msg) const const uint16_t stunMode = msg.readInt16("stun mode"); uint32_t statusEffects = msg.readInt16("status effect"); - statusEffects |= (static_cast<uint32_t>(msg.readInt16("opt?"))) << 16; - msg.readUInt8("Unused?"); + statusEffects |= (static_cast<uint32_t>(msg.readInt32("opt?"))) << 16; + msg.readUInt8("karma"); dstBeing->setStunMode(stunMode); dstBeing->setStatusEffectBlock(0, static_cast<uint16_t>( |