diff options
author | Chuck Miller <shadowmil@gmail.com> | 2010-02-21 22:51:50 -0500 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2010-02-21 22:51:50 -0500 |
commit | 7c925545419eeda0b0b26b290a9ec0412960fbd8 (patch) | |
tree | 91c533b508bfaad2098c0fa1afee5299dba0cda8 /src/net/ea | |
parent | cf90688d139354eeba26d724495869ff9a6842ec (diff) | |
download | Mana-7c925545419eeda0b0b26b290a9ec0412960fbd8.tar.gz Mana-7c925545419eeda0b0b26b290a9ec0412960fbd8.tar.bz2 Mana-7c925545419eeda0b0b26b290a9ec0412960fbd8.tar.xz Mana-7c925545419eeda0b0b26b290a9ec0412960fbd8.zip |
Restore packet 0x0195 to the correct size
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/beinghandler.cpp | 1 | ||||
-rw-r--r-- | src/net/ea/network.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp index 56f23fdb..8803fafb 100644 --- a/src/net/ea/beinghandler.cpp +++ b/src/net/ea/beinghandler.cpp @@ -487,6 +487,7 @@ void BeingHandler::handleMessage(Net::MessageIn &msg) dstBeing->setPartyName(msg.readString(24)); dstBeing->setGuildName(msg.readString(24)); dstBeing->setGuildPos(msg.readString(24)); + msg.readString(24); // Discard this } break; case SMSG_BEING_CHANGE_DIRECTION: diff --git a/src/net/ea/network.cpp b/src/net/ea/network.cpp index 7214ef10..3b8ad509 100644 --- a/src/net/ea/network.cpp +++ b/src/net/ea/network.cpp @@ -69,7 +69,7 @@ short packet_lengths[] = { 14, 30, 10, 3, -1, 6,106, -1, 4, 5, 4, -1, 6, 7, -1, -1, // #0x0180 6, 3,106, 10, 10, 34, 0, 6, 8, 4, 4, 4, 29, -1, 10, 6, - 90, 86, 24, 6, 30, 78, 9, 4, 8, 4, 14, 10, 4, 6, 2, 6, + 90, 86, 24, 6, 30, 102, 9, 4, 8, 4, 14, 10, 4, 6, 2, 6, 3, 3, 35, 5, 11, 26, -1, 4, 4, 6, 10, 12, 6, -1, 4, 4, 11, 7, -1, 67, 12, 18,114, 6, 3, 6, 26, 26, 26, 26, 2, 3, // #0x01C0 |