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 a94f686da..4f347ae74 100644
--- a/src/net/ea/beinghandler.cpp
+++ b/src/net/ea/beinghandler.cpp
@@ -480,34 +480,6 @@ void BeingHandler::processPlayerMoveToAttack(Net::MessageIn &msg A_UNUSED)
BLOCK_END("BeingHandler::processPlayerStop")
}
-void BeingHandler::processPlaterStatusChange(Net::MessageIn &msg) const
-{
- BLOCK_START("BeingHandler::processPlayerStop")
- if (!actorManager)
- {
- BLOCK_END("BeingHandler::processPlayerStop")
- return;
- }
-
- // Change in players' flags
- const int id = msg.readInt32("account id");
- Being *const dstBeing = actorManager->findBeing(id);
- if (!dstBeing)
- return;
-
- const uint16_t stunMode = msg.readInt16("stun mode");
- uint32_t statusEffects = msg.readInt16("status effect");
- statusEffects |= (static_cast<uint32_t>(msg.readInt16("opt?"))) << 16;
- msg.readUInt8("Unused?");
-
- dstBeing->setStunMode(stunMode);
- dstBeing->setStatusEffectBlock(0, static_cast<uint16_t>(
- (statusEffects >> 16) & 0xffff));
- dstBeing->setStatusEffectBlock(16, static_cast<uint16_t>(
- statusEffects & 0xffff));
- BLOCK_END("BeingHandler::processPlayerStop")
-}
-
void BeingHandler::processSkillNoDamage(Net::MessageIn &msg) const
{
msg.readInt16("skill id");
diff --git a/src/net/ea/beinghandler.h b/src/net/ea/beinghandler.h
index 05e3b5af4..83d7776eb 100644
--- a/src/net/ea/beinghandler.h
+++ b/src/net/ea/beinghandler.h
@@ -68,8 +68,6 @@ class BeingHandler notfinal : public Net::BeingHandler
virtual void processPlayerMoveToAttack(Net::MessageIn &msg) const;
- virtual void processPlaterStatusChange(Net::MessageIn &msg) const;
-
virtual void processSkillNoDamage(Net::MessageIn &msg) const;
virtual void processPvpMapMode(Net::MessageIn &msg) const;