summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-29 13:07:16 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-29 13:07:16 +0300
commit2223d15c84a660dd10dc131455416e2f49368409 (patch)
tree327f66cd6ab275cd75195d5486df3bdac39940a7
parent50e6f52f9f326d09ee5a2d0f8e8c2235c5e9cd22 (diff)
downloadplus-2223d15c84a660dd10dc131455416e2f49368409.tar.gz
plus-2223d15c84a660dd10dc131455416e2f49368409.tar.bz2
plus-2223d15c84a660dd10dc131455416e2f49368409.tar.xz
plus-2223d15c84a660dd10dc131455416e2f49368409.zip
fix processing guildpartyinfo packet.
-rw-r--r--src/net/ea/beinghandler.cpp8
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
}