summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/tmwa/beingrecv.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net/tmwa/beingrecv.cpp b/src/net/tmwa/beingrecv.cpp
index 0a6a4100e..d5f1dbd6f 100644
--- a/src/net/tmwa/beingrecv.cpp
+++ b/src/net/tmwa/beingrecv.cpp
@@ -1304,8 +1304,12 @@ void BeingRecv::processIpResponse(Net::MessageIn &msg)
Being *const dstBeing = actorManager->findBeing(
msg.readBeingId("being id"));
+ const std::string ip = ipToString(msg.readInt32("ip address"));
if (dstBeing)
- dstBeing->setIp(ipToString(msg.readInt32("ip address")));
+ dstBeing->setIp(ip);
+ else
+ DEBUGLOGSTR("invisible player?");
+
BLOCK_END("BeingRecv::processIpResponse")
}