summaryrefslogtreecommitdiff
path: root/src/net
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
parentbd96cc5bd58dabcff64975c91f12779e593b16fc (diff)
downloadplus-2e6aa47dc0d372536985cec0e4d5ff7c9eb2bd18.tar.gz
plus-2e6aa47dc0d372536985cec0e4d5ff7c9eb2bd18.tar.bz2
plus-2e6aa47dc0d372536985cec0e4d5ff7c9eb2bd18.tar.xz
plus-2e6aa47dc0d372536985cec0e4d5ff7c9eb2bd18.zip
fix some packets reading size.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/beinghandler.cpp3
-rw-r--r--src/net/eathena/playerhandler.cpp1
2 files changed, 4 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")
}
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index 16f313531..a4ce3c0d0 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -244,6 +244,7 @@ void PlayerHandler::processPlayerShortcuts(Net::MessageIn &msg)
msg.readInt32("item or skill id");
msg.readInt16("skill level");
}
+ msg.skip(77, "unused");
}
void PlayerHandler::processPlayerShowEquip(Net::MessageIn &msg)