diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-16 14:20:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-16 14:20:00 +0300 |
commit | bc7231752a095dd451c37824e1c252d0f0579056 (patch) | |
tree | dad6ed3272b0adeb72a5018dfb945b4c7c4a5feb /src/net/eathena | |
parent | 4fb48b418591dc0f1fc257181e743a96999ff0a3 (diff) | |
download | plus-bc7231752a095dd451c37824e1c252d0f0579056.tar.gz plus-bc7231752a095dd451c37824e1c252d0f0579056.tar.bz2 plus-bc7231752a095dd451c37824e1c252d0f0579056.tar.xz plus-bc7231752a095dd451c37824e1c252d0f0579056.zip |
eathena: remove packet SMSG_BEING_CHANGE_LOOKS.
Diffstat (limited to 'src/net/eathena')
-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 |