diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-05 01:44:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-06 01:18:57 +0300 |
commit | 2e6aa47dc0d372536985cec0e4d5ff7c9eb2bd18 (patch) | |
tree | 9239f77c1f486f8bef4d80c55a2f56f61ada43ec /src/net/ea/beinghandler.cpp | |
parent | bd96cc5bd58dabcff64975c91f12779e593b16fc (diff) | |
download | plus-2e6aa47dc0d372536985cec0e4d5ff7c9eb2bd18.tar.gz plus-2e6aa47dc0d372536985cec0e4d5ff7c9eb2bd18.tar.bz2 plus-2e6aa47dc0d372536985cec0e4d5ff7c9eb2bd18.tar.xz plus-2e6aa47dc0d372536985cec0e4d5ff7c9eb2bd18.zip |
fix some packets reading size.
Diffstat (limited to 'src/net/ea/beinghandler.cpp')
-rw-r--r-- | src/net/ea/beinghandler.cpp | 3 |
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") } |