summaryrefslogtreecommitdiff
path: root/src/gui/onlineplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-27 23:00:00 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-27 23:00:00 +0300
commitb02e3369653bddc4f4af677de16dac131945e7b7 (patch)
treefe2e0f84acea8accb0e08a2ca2f2b607e4f5d030 /src/gui/onlineplayer.h
parentcdd3c77337a6bbff0d51d174663867463db8cf15 (diff)
downloadplus-b02e3369653bddc4f4af677de16dac131945e7b7.tar.gz
plus-b02e3369653bddc4f4af677de16dac131945e7b7.tar.bz2
plus-b02e3369653bddc4f4af677de16dac131945e7b7.tar.xz
plus-b02e3369653bddc4f4af677de16dac131945e7b7.zip
Fix showing group name in online list for legacy server.
Diffstat (limited to 'src/gui/onlineplayer.h')
-rw-r--r--src/gui/onlineplayer.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/onlineplayer.h b/src/gui/onlineplayer.h
index 219a473da..a97c2104e 100644
--- a/src/gui/onlineplayer.h
+++ b/src/gui/onlineplayer.h
@@ -36,12 +36,12 @@ class OnlinePlayer final
const signed char level,
const GenderT gender,
const signed char version,
- const unsigned char group) :
+ const int group) :
mNick(nick),
mText(),
+ mGroup(group),
mStatus(status),
mLevel(level),
- mGroup(group),
mVersion(version),
mGender(gender),
mIsGM(false)
@@ -78,12 +78,12 @@ class OnlinePlayer final
std::string mText;
+ int mGroup;
+
unsigned char mStatus;
signed char mLevel;
- unsigned char mGroup;
-
signed char mVersion;
GenderT mGender;