diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 20:28:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 20:28:17 +0300 |
commit | 3c97cad0badf0e2f3597670d9981190a83b0df33 (patch) | |
tree | c168ee6138d7f2485fe622d9dbc16536b26981a0 /src/net/eathena | |
parent | dbadb2f336a56bc2a037c0a0386b83e88b512ca3 (diff) | |
download | plus-3c97cad0badf0e2f3597670d9981190a83b0df33.tar.gz plus-3c97cad0badf0e2f3597670d9981190a83b0df33.tar.bz2 plus-3c97cad0badf0e2f3597670d9981190a83b0df33.tar.xz plus-3c97cad0badf0e2f3597670d9981190a83b0df33.zip |
eathena: fix packet SMSG_BEING_RESURRECT 0x0148.
Diffstat (limited to 'src/net/eathena')
-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 b6327b30f..0abe3281a 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -1746,6 +1746,7 @@ void BeingHandler::processBeingResurrect(Net::MessageIn &msg) const // A being changed mortality status const int id = msg.readInt32("being id"); + msg.readInt16("unused"); Being *const dstBeing = actorManager->findBeing(id); if (!dstBeing) { @@ -1757,8 +1758,7 @@ void BeingHandler::processBeingResurrect(Net::MessageIn &msg) const if (dstBeing == localPlayer->getTarget()) localPlayer->stopAttack(); - if (msg.readUInt8("flag?") == 1U) - dstBeing->setAction(BeingAction::STAND, 0); + dstBeing->setAction(BeingAction::STAND, 0); BLOCK_END("BeingHandler::processBeingResurrect") } |