diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-08 00:57:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-08 00:57:34 +0300 |
commit | 3fa533e55f57da27941147df737a5bbe8c22a763 (patch) | |
tree | ef6a91e0e5288066dc1531b7c0d5f177673f09ef /src | |
parent | 17aea3a2f39b62202548d54c70eeb127e93f14c5 (diff) | |
download | manaverse-3fa533e55f57da27941147df737a5bbe8c22a763.tar.gz manaverse-3fa533e55f57da27941147df737a5bbe8c22a763.tar.bz2 manaverse-3fa533e55f57da27941147df737a5bbe8c22a763.tar.xz manaverse-3fa533e55f57da27941147df737a5bbe8c22a763.zip |
eathena: improve processPlayerGuilPartyInfo.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 5 |
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(); } |