diff options
author | gumi <git@gumi.ca> | 2018-11-24 16:22:23 -0500 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-11-27 21:56:36 +0300 |
commit | cdd3c77337a6bbff0d51d174663867463db8cf15 (patch) | |
tree | 4366fb2a5958f296707227961b5e4f842698bcd6 /src/net/tmwa/playerrecv.cpp | |
parent | d33ffd2ac6230059cce68ecae862d3bdc813b93d (diff) | |
download | mv-cdd3c77337a6bbff0d51d174663867463db8cf15.tar.gz mv-cdd3c77337a6bbff0d51d174663867463db8cf15.tar.bz2 mv-cdd3c77337a6bbff0d51d174663867463db8cf15.tar.xz mv-cdd3c77337a6bbff0d51d174663867463db8cf15.zip |
Show short group name when available instead of (GM)
Diffstat (limited to 'src/net/tmwa/playerrecv.cpp')
-rw-r--r-- | src/net/tmwa/playerrecv.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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); } |