diff options
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index 2e32d6199..cb12147fa 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -82,7 +82,6 @@ BeingHandler::BeingHandler(const bool enableSync) : SMSG_BEING_SPECIAL_EFFECT_NUM, SMSG_BEING_SOUND_EFFECT, SMSG_BEING_EMOTION, - SMSG_BEING_CHANGE_LOOKS, SMSG_BEING_CHANGE_LOOKS2, SMSG_BEING_NAME_RESPONSE, SMSG_BEING_NAME_RESPONSE2, @@ -196,10 +195,6 @@ void BeingHandler::handleMessage(Net::MessageIn &msg) processBeingEmotion(msg); break; - case SMSG_BEING_CHANGE_LOOKS: - processBeingChangeLook(msg); - break; - case SMSG_BEING_CHANGE_LOOKS2: processBeingChangeLook2(msg); break; @@ -389,24 +384,6 @@ void BeingHandler::requestRanks(const Rank::Rank rank) const outMsg.writeInt16(static_cast<int16_t>(rank), "type"); } -void BeingHandler::processBeingChangeLook(Net::MessageIn &msg) -{ - if (!actorManager) - return; - - Being *const dstBeing = actorManager->findBeing( - msg.readInt32("being id")); - const uint8_t type = msg.readUInt8("type"); - - const int id = static_cast<int>(msg.readUInt8("id")); - const unsigned int id2 = 1U; - - if (!localPlayer || !dstBeing) - return; - - processBeingChangeLookContinue(dstBeing, type, id, id2); -} - void BeingHandler::processBeingChangeLook2(Net::MessageIn &msg) { if (!actorManager) |