summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/tmwa/beingrecv.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/tmwa/beingrecv.cpp b/src/net/tmwa/beingrecv.cpp
index 74f36c3e4..f46ff373f 100644
--- a/src/net/tmwa/beingrecv.cpp
+++ b/src/net/tmwa/beingrecv.cpp
@@ -1181,7 +1181,14 @@ void BeingRecv::processPlaterStatusChange(Net::MessageIn &msg)
const BeingId id = msg.readBeingId("account id");
Being *const dstBeing = actorManager->findBeing(id);
if (!dstBeing)
+ {
+ logger->log("invisible player?");
+ msg.readInt16("stun mode");
+ msg.readInt16("status effect");
+ msg.readInt16("opt?");
+ msg.readUInt8("Unused?");
return;
+ }
const uint16_t stunMode = msg.readInt16("stun mode");
uint32_t statusEffects = msg.readInt16("status effect");