From 4688d64d9881d296193b03d3dd6f5a7305bbf3a7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Mar 2015 17:34:23 +0300 Subject: Move processBeingAction from ea namespace into tmwa. --- src/net/eathena/beinghandler.cpp | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'src/net/eathena/beinghandler.cpp') diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index beda48d15..798506991 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -77,7 +77,6 @@ BeingHandler::BeingHandler(const bool enableSync) : SMSG_BEING_REMOVE_SKILL, SMSG_SKILL_DAMAGE, SMSG_BEING_ACTION, - SMSG_BEING_ACTION2, SMSG_BEING_SELFEFFECT, SMSG_BEING_SPECIAL_EFFECT, SMSG_BEING_SPECIAL_EFFECT_NUM, @@ -190,10 +189,6 @@ void BeingHandler::handleMessage(Net::MessageIn &msg) processBeingAction(msg); break; - case SMSG_BEING_ACTION2: - processBeingAction2(msg); - break; - case SMSG_BEING_SELFEFFECT: processBeingSelfEffect(msg); break; @@ -1236,12 +1231,12 @@ void BeingHandler::processBeingMove2(Net::MessageIn &msg) BLOCK_END("BeingHandler::processBeingMove2") } -void BeingHandler::processBeingAction2(Net::MessageIn &msg) +void BeingHandler::processBeingAction(Net::MessageIn &msg) { - BLOCK_START("BeingHandler::processBeingAction2") + BLOCK_START("BeingHandler::processBeingAction") if (!actorManager) { - BLOCK_END("BeingHandler::processBeingAction2") + BLOCK_END("BeingHandler::processBeingAction") return; } @@ -1328,7 +1323,7 @@ void BeingHandler::processBeingAction2(Net::MessageIn &msg) logger->log("type: " + toString(type)); break; } - BLOCK_END("BeingHandler::processBeingAction2") + BLOCK_END("BeingHandler::processBeingAction") } void BeingHandler::processMonsterHp(Net::MessageIn &msg) -- cgit v1.2.3-70-g09d2