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/gui/onlineplayer.h | |
parent | d33ffd2ac6230059cce68ecae862d3bdc813b93d (diff) | |
download | manaverse-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/gui/onlineplayer.h')
-rw-r--r-- | src/gui/onlineplayer.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/onlineplayer.h b/src/gui/onlineplayer.h index 0b41cebec..219a473da 100644 --- a/src/gui/onlineplayer.h +++ b/src/gui/onlineplayer.h @@ -35,11 +35,13 @@ class OnlinePlayer final const unsigned char status, const signed char level, const GenderT gender, - const signed char version) : + const signed char version, + const unsigned char group) : mNick(nick), mText(), mStatus(status), mLevel(level), + mGroup(group), mVersion(version), mGender(gender), mIsGM(false) @@ -80,6 +82,8 @@ class OnlinePlayer final signed char mLevel; + unsigned char mGroup; + signed char mVersion; GenderT mGender; |