summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/beinghandler.cpp28
-rw-r--r--src/net/ea/beinghandler.h2
2 files changed, 0 insertions, 30 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp
index 82154f6d9..807c9b3ef 100644
--- a/src/net/ea/beinghandler.cpp
+++ b/src/net/ea/beinghandler.cpp
@@ -132,34 +132,6 @@ void BeingHandler::processBeingRemove(Net::MessageIn &msg) const
BLOCK_END("BeingHandler::processBeingRemove")
}
-void BeingHandler::processBeingResurrect(Net::MessageIn &msg) const
-{
- BLOCK_START("BeingHandler::processBeingResurrect")
- if (!actorManager || !localPlayer)
- {
- BLOCK_END("BeingHandler::processBeingResurrect")
- return;
- }
-
- // A being changed mortality status
-
- const int id = msg.readInt32("being id");
- Being *const dstBeing = actorManager->findBeing(id);
- if (!dstBeing)
- {
- BLOCK_END("BeingHandler::processBeingResurrect")
- return;
- }
-
- // If this is player's current target, clear it.
- if (dstBeing == localPlayer->getTarget())
- localPlayer->stopAttack();
-
- if (msg.readUInt8("flag?") == 1U)
- dstBeing->setAction(BeingAction::STAND, 0);
- BLOCK_END("BeingHandler::processBeingResurrect")
-}
-
void BeingHandler::processSkillDamage(Net::MessageIn &msg) const
{
BLOCK_START("BeingHandler::processSkillDamage")
diff --git a/src/net/ea/beinghandler.h b/src/net/ea/beinghandler.h
index 83d7776eb..84758630c 100644
--- a/src/net/ea/beinghandler.h
+++ b/src/net/ea/beinghandler.h
@@ -48,8 +48,6 @@ class BeingHandler notfinal : public Net::BeingHandler
virtual void processBeingRemove(Net::MessageIn &msg) const;
- virtual void processBeingResurrect(Net::MessageIn &msg) const;
-
virtual void processSkillDamage(Net::MessageIn &msg) const;
virtual void processBeingAction(Net::MessageIn &msg) const;