summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r--src/net/eathena/beinghandler.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index 0abe3281a..69f09ed8f 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -83,6 +83,7 @@ BeingHandler::BeingHandler(const bool enableSync) :
SMSG_PLAYER_STOP,
SMSG_PLAYER_MOVE_TO_ATTACK,
SMSG_PLAYER_STATUS_CHANGE,
+ SMSG_PLAYER_STATUS_CHANGE_NO_TICK,
SMSG_BEING_STATUS_CHANGE,
SMSG_BEING_STATUS_CHANGE2,
SMSG_BEING_RESURRECT,
@@ -224,6 +225,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
processPlaterStatusChange(msg);
break;
+ case SMSG_PLAYER_STATUS_CHANGE_NO_TICK:
+ processPlaterStatusChangeNoTick(msg);
+ break;
+
case SMSG_BEING_STATUS_CHANGE:
case SMSG_BEING_STATUS_CHANGE2:
processBeingStatusChange(msg);
@@ -1734,6 +1739,14 @@ void BeingHandler::processPlaterStatusChange(Net::MessageIn &msg) const
BLOCK_END("BeingHandler::processPlayerStop")
}
+void BeingHandler::processPlaterStatusChangeNoTick(Net::MessageIn &msg) const
+{
+ // +++ probably need show some effect?
+ msg.readInt16("index");
+ msg.readInt32("account id");
+ msg.readUInt8("state");
+}
+
void BeingHandler::processBeingResurrect(Net::MessageIn &msg) const
{
BLOCK_START("BeingHandler::processBeingResurrect")