From 528aa915c7401ab773aba268ec5d0816ab580ea9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 Dec 2014 17:30:24 +0300 Subject: Move processIpResponse from ea namespace into tmwa. --- src/net/ea/beinghandler.cpp | 15 --------------- src/net/ea/beinghandler.h | 2 -- 2 files changed, 17 deletions(-) (limited to 'src/net/ea') diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp index 4ca872196..72bca8015 100644 --- a/src/net/ea/beinghandler.cpp +++ b/src/net/ea/beinghandler.cpp @@ -348,21 +348,6 @@ void BeingHandler::processNameResponse(Net::MessageIn &msg) BLOCK_END("BeingHandler::processNameResponse") } -void BeingHandler::processIpResponse(Net::MessageIn &msg) -{ - BLOCK_START("BeingHandler::processIpResponse") - if (!actorManager) - { - BLOCK_END("BeingHandler::processIpResponse") - return; - } - - Being *const dstBeing = actorManager->findBeing(msg.readInt32("being id")); - if (dstBeing) - dstBeing->setIp(ipToString(msg.readInt32("ip address"))); - BLOCK_END("BeingHandler::processIpResponse") -} - void BeingHandler::processPlayerStop(Net::MessageIn &msg) { BLOCK_START("BeingHandler::processPlayerStop") diff --git a/src/net/ea/beinghandler.h b/src/net/ea/beinghandler.h index a87117ffe..3bec699d1 100644 --- a/src/net/ea/beinghandler.h +++ b/src/net/ea/beinghandler.h @@ -56,8 +56,6 @@ class BeingHandler notfinal : public Net::BeingHandler static void processNameResponse(Net::MessageIn &msg); - static void processIpResponse(Net::MessageIn &msg); - static void processPlayerStop(Net::MessageIn &msg); static void processPlayerMoveToAttack(Net::MessageIn &msg); -- cgit v1.2.3-60-g2f50