diff options
-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(); } |