From 2b3b773d1b902eb0797e2d9fc034d63559af87a3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 Jun 2015 16:54:10 +0300 Subject: Move processPvpSet from ea namespace into eathena and tmwa. --- src/net/ea/beinghandler.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/net/ea/beinghandler.cpp') diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp index 0c4a83b42..c86414022 100644 --- a/src/net/ea/beinghandler.cpp +++ b/src/net/ea/beinghandler.cpp @@ -418,21 +418,6 @@ void BeingHandler::processPvpMapMode(Net::MessageIn &msg) BLOCK_END("BeingHandler::processPvpMapMode") } -void BeingHandler::processPvpSet(Net::MessageIn &msg) -{ - BLOCK_START("BeingHandler::processPvpSet") - const BeingId id = msg.readBeingId("being id"); - const int rank = msg.readInt32("rank"); - msg.readInt32("num"); - if (actorManager) - { - Being *const dstBeing = actorManager->findBeing(id); - if (dstBeing) - dstBeing->setPvpRank(rank); - } - BLOCK_END("BeingHandler::processPvpSet") -} - void BeingHandler::processNameResponse2(Net::MessageIn &msg) { BLOCK_START("BeingHandler::processNameResponse2") -- cgit v1.2.3-60-g2f50