diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/playerrecv.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/playerrecv.cpp | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/net/eathena/playerrecv.cpp b/src/net/eathena/playerrecv.cpp index da3e35a0d..51abbfdc3 100644 --- a/src/net/eathena/playerrecv.cpp +++ b/src/net/eathena/playerrecv.cpp @@ -481,7 +481,7 @@ void PlayerRecv::processOnlineList(Net::MessageIn &msg) gender = Gender::FEMALE; } arr.push_back(new OnlinePlayer(static_cast<const char*>(buf), - status, level, gender, ver)); + status, level, gender, ver, 0)); buf += strlen(buf) + 1; } diff --git a/src/net/tmwa/playerrecv.cpp b/src/net/tmwa/playerrecv.cpp index 530621637..d088c3c54 100644 --- a/src/net/tmwa/playerrecv.cpp +++ b/src/net/tmwa/playerrecv.cpp @@ -232,12 +232,11 @@ void PlayerRecv::processOnlineList(Net::MessageIn &msg) default: break; } - if (GroupDb::getShowBadge(group)) - status |= BeingFlag::GM; + if (!config.getBoolValue("showgender")) gender = Gender::UNSPECIFIED; arr.push_back(new OnlinePlayer(name, - status, level, gender, 0)); + status, level, gender, 0, group)); if (actorManager) actorManager->updateNameId(name, beingId); } |