summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-03-04 23:01:55 +0300
committerAndrei Karas <akaras@inbox.ru>2019-03-04 23:01:55 +0300
commita10b7cb955ab974c42474726f66e8e16f659bdb6 (patch)
treebd08cffb667c91cf1ab4c4ccdc6c4c23c93fe71c /src/net/eathena
parent56f4420c4f5689cb84a119193fda57dab51c8428 (diff)
downloadplus-a10b7cb955ab974c42474726f66e8e16f659bdb6.tar.gz
plus-a10b7cb955ab974c42474726f66e8e16f659bdb6.tar.bz2
plus-a10b7cb955ab974c42474726f66e8e16f659bdb6.tar.xz
plus-a10b7cb955ab974c42474726f66e8e16f659bdb6.zip
Fix player names in guild in new packets.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/guildrecv.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/net/eathena/guildrecv.cpp b/src/net/eathena/guildrecv.cpp
index b82fd25c6..62577e7b8 100644
--- a/src/net/eathena/guildrecv.cpp
+++ b/src/net/eathena/guildrecv.cpp
@@ -36,6 +36,7 @@
#include "gui/widgets/tabs/chat/guildtab.h"
+#include "net/beinghandler.h"
#include "net/messagein.h"
#include "net/eathena/guildhandler.h"
@@ -208,7 +209,6 @@ void GuildRecv::processGuildMemberList(Net::MessageIn &msg)
if (msg.getVersion() >= 20161026)
{
guildSize = 34;
- reportAlways("missing guild member names")
}
else
{
@@ -247,7 +247,11 @@ void GuildRecv::processGuildMemberList(Net::MessageIn &msg)
else
{
msg.readInt32("last login"); // for now unused
- continue;
+ name = actorManager->findCharById(charId);
+ if (name.empty())
+ {
+ beingHandler->requestNameByCharId(charId);
+ }
}
GuildMember *const m = taGuild->addMember(id, charId, name);