From 3c97cad0badf0e2f3597670d9981190a83b0df33 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 17 Sep 2014 20:28:17 +0300 Subject: eathena: fix packet SMSG_BEING_RESURRECT 0x0148. --- src/net/eathena/beinghandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net') 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") } -- cgit v1.2.3-70-g09d2