summaryrefslogtreecommitdiff
path: root/src/net
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 /src/net
parent50e6f52f9f326d09ee5a2d0f8e8c2235c5e9cd22 (diff)
downloadManaVerse-2223d15c84a660dd10dc131455416e2f49368409.tar.gz
ManaVerse-2223d15c84a660dd10dc131455416e2f49368409.tar.bz2
ManaVerse-2223d15c84a660dd10dc131455416e2f49368409.tar.xz
ManaVerse-2223d15c84a660dd10dc131455416e2f49368409.zip
fix processing guildpartyinfo packet.
Diffstat (limited to 'src/net')
-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
}