summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-16 14:20:00 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-16 14:20:00 +0300
commitbc7231752a095dd451c37824e1c252d0f0579056 (patch)
treedad6ed3272b0adeb72a5018dfb945b4c7c4a5feb /src/net/eathena/beinghandler.cpp
parent4fb48b418591dc0f1fc257181e743a96999ff0a3 (diff)
downloadplus-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/beinghandler.cpp')
-rw-r--r--src/net/eathena/beinghandler.cpp23
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)