diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 23 | ||||
-rw-r--r-- | src/net/eathena/beinghandler.h | 2 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 1 |
3 files changed, 0 insertions, 26 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) diff --git a/src/net/eathena/beinghandler.h b/src/net/eathena/beinghandler.h index 378c67fa1..2c11bc15f 100644 --- a/src/net/eathena/beinghandler.h +++ b/src/net/eathena/beinghandler.h @@ -51,8 +51,6 @@ class BeingHandler final : public MessageHandler, public Ea::BeingHandler const int16_t job, const BeingType::BeingType beingType); - static void processBeingChangeLook(Net::MessageIn &msg); - static void processBeingChangeLook2(Net::MessageIn &msg); static void processBeingVisible(Net::MessageIn &msg); diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index 856b27d09..879fb76dc 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -108,7 +108,6 @@ #define SMSG_BEING_MOVE3 0x0b04 #define SMSG_BEING_REMOVE 0x0080 #define SMSG_BEING_REMOVE_SKILL 0x0120 -#define SMSG_BEING_CHANGE_LOOKS 0x00c3 // Same as 0x00c3, but 16 bit ID #define SMSG_BEING_CHANGE_LOOKS2 0x01d7 #define SMSG_BEING_SELFEFFECT 0x019b |