summaryrefslogtreecommitdiff
path: root/src/net/tmwa/playerrecv.cpp
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-11-24 16:22:23 -0500
committerAndrei Karas <akaras@inbox.ru>2018-11-27 21:56:36 +0300
commitcdd3c77337a6bbff0d51d174663867463db8cf15 (patch)
tree4366fb2a5958f296707227961b5e4f842698bcd6 /src/net/tmwa/playerrecv.cpp
parentd33ffd2ac6230059cce68ecae862d3bdc813b93d (diff)
downloadmanaverse-cdd3c77337a6bbff0d51d174663867463db8cf15.tar.gz
manaverse-cdd3c77337a6bbff0d51d174663867463db8cf15.tar.bz2
manaverse-cdd3c77337a6bbff0d51d174663867463db8cf15.tar.xz
manaverse-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.cpp5
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);
}