summaryrefslogtreecommitdiff
path: root/src/net/ea/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-16 17:30:24 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-16 17:30:24 +0300
commit528aa915c7401ab773aba268ec5d0816ab580ea9 (patch)
treefffc728902f8eebf99544b79ca13e32a41c59591 /src/net/ea/beinghandler.cpp
parentbc89a386c9ac61401ee79990151c39069a06e5e0 (diff)
downloadmanaplus-528aa915c7401ab773aba268ec5d0816ab580ea9.tar.gz
manaplus-528aa915c7401ab773aba268ec5d0816ab580ea9.tar.bz2
manaplus-528aa915c7401ab773aba268ec5d0816ab580ea9.tar.xz
manaplus-528aa915c7401ab773aba268ec5d0816ab580ea9.zip
Move processIpResponse from ea namespace into tmwa.
Diffstat (limited to 'src/net/ea/beinghandler.cpp')
-rw-r--r--src/net/ea/beinghandler.cpp15
1 files changed, 0 insertions, 15 deletions
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")