summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-08 00:57:34 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-08 00:57:34 +0300
commit3fa533e55f57da27941147df737a5bbe8c22a763 (patch)
treeef6a91e0e5288066dc1531b7c0d5f177673f09ef /src
parent17aea3a2f39b62202548d54c70eeb127e93f14c5 (diff)
downloadplus-3fa533e55f57da27941147df737a5bbe8c22a763.tar.gz
plus-3fa533e55f57da27941147df737a5bbe8c22a763.tar.bz2
plus-3fa533e55f57da27941147df737a5bbe8c22a763.tar.xz
plus-3fa533e55f57da27941147df737a5bbe8c22a763.zip
eathena: improve processPlayerGuilPartyInfo.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/beinghandler.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index 4972f7568..c96f29433 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -1915,7 +1915,7 @@ void BeingHandler::processPlayerGuilPartyInfo(Net::MessageIn &msg) const
if (dstBeing)
{
- msg.readString(24, "char name");
+ dstBeing->setName(msg.readString(24, "char name"));
dstBeing->setPartyName(msg.readString(24, "party name"));
if (!guildManager || !GuildManager::getEnableGuildBot())
{
@@ -1924,7 +1924,8 @@ void BeingHandler::processPlayerGuilPartyInfo(Net::MessageIn &msg) const
}
else
{
- msg.skip(48);
+ msg.readString(24, "guild name");
+ msg.readString(24, "guild pos");
}
dstBeing->addToCache();
}