diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-29 13:07:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-29 13:07:16 +0300 |
commit | 2223d15c84a660dd10dc131455416e2f49368409 (patch) | |
tree | 327f66cd6ab275cd75195d5486df3bdac39940a7 /src/net/ea | |
parent | 50e6f52f9f326d09ee5a2d0f8e8c2235c5e9cd22 (diff) | |
download | manaplus-2223d15c84a660dd10dc131455416e2f49368409.tar.gz manaplus-2223d15c84a660dd10dc131455416e2f49368409.tar.bz2 manaplus-2223d15c84a660dd10dc131455416e2f49368409.tar.xz manaplus-2223d15c84a660dd10dc131455416e2f49368409.zip |
fix processing guildpartyinfo packet.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/beinghandler.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp index 922a6155e..9d8d760f9 100644 --- a/src/net/ea/beinghandler.cpp +++ b/src/net/ea/beinghandler.cpp @@ -658,8 +658,14 @@ void BeingHandler::processPlayerGuilPartyInfo(Net::MessageIn &msg) { dstBeing->setPartyName(msg.readString(24)); if (!guildManager || !GuildManager::getEnableGuildBot()) + { dstBeing->setGuildName(msg.readString(24)); - dstBeing->setGuildPos(msg.readString(24)); + dstBeing->setGuildPos(msg.readString(24)); + } + else + { + msg.skip(48); + } dstBeing->addToCache(); msg.readString(24); // Discard this } |