summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 20:28:17 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 20:28:17 +0300
commit3c97cad0badf0e2f3597670d9981190a83b0df33 (patch)
treec168ee6138d7f2485fe622d9dbc16536b26981a0 /src
parentdbadb2f336a56bc2a037c0a0386b83e88b512ca3 (diff)
downloadManaVerse-3c97cad0badf0e2f3597670d9981190a83b0df33.tar.gz
ManaVerse-3c97cad0badf0e2f3597670d9981190a83b0df33.tar.bz2
ManaVerse-3c97cad0badf0e2f3597670d9981190a83b0df33.tar.xz
ManaVerse-3c97cad0badf0e2f3597670d9981190a83b0df33.zip
eathena: fix packet SMSG_BEING_RESURRECT 0x0148.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/beinghandler.cpp4
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")
}