summaryrefslogtreecommitdiff
path: root/src/net/ea/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-05 01:44:04 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:57 +0300
commit2e6aa47dc0d372536985cec0e4d5ff7c9eb2bd18 (patch)
tree9239f77c1f486f8bef4d80c55a2f56f61ada43ec /src/net/ea/beinghandler.cpp
parentbd96cc5bd58dabcff64975c91f12779e593b16fc (diff)
downloadmanaplus-2e6aa47dc0d372536985cec0e4d5ff7c9eb2bd18.tar.gz
manaplus-2e6aa47dc0d372536985cec0e4d5ff7c9eb2bd18.tar.bz2
manaplus-2e6aa47dc0d372536985cec0e4d5ff7c9eb2bd18.tar.xz
manaplus-2e6aa47dc0d372536985cec0e4d5ff7c9eb2bd18.zip
fix some packets reading size.
Diffstat (limited to 'src/net/ea/beinghandler.cpp')
-rw-r--r--src/net/ea/beinghandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp
index 3d7e4f6a7..1a80b2c89 100644
--- a/src/net/ea/beinghandler.cpp
+++ b/src/net/ea/beinghandler.cpp
@@ -433,8 +433,11 @@ void BeingHandler::processNameResponse(Net::MessageIn &msg) const
}
localPlayer->checkNewName(dstBeing);
}
+ BLOCK_END("BeingHandler::processNameResponse")
+ return;
}
}
+ msg.readString(24, "name");
BLOCK_END("BeingHandler::processNameResponse")
}