summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHello=) <hello.tmw@localhost>2022-01-10 06:58:59 +0300
committerJesusaves <cpntb1@ymail.com>2022-01-11 20:57:35 -0300
commit02e871b761e9b88d3800918a84bdf142ab06e385 (patch)
tree3c9a2beae7c1048f0ba378e2c5b4dec9f61d9892
parentf1b95ce0ff54d6a403ba07ad3dc899b638ffade2 (diff)
downloadplus-02e871b761e9b88d3800918a84bdf142ab06e385.tar.gz
plus-02e871b761e9b88d3800918a84bdf142ab06e385.tar.bz2
plus-02e871b761e9b88d3800918a84bdf142ab06e385.tar.xz
plus-02e871b761e9b88d3800918a84bdf142ab06e385.zip
Fix render of high level players (>127) in online list
-rw-r--r--src/gui/onlineplayer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/onlineplayer.h b/src/gui/onlineplayer.h
index 4e62e3e6a..650edae6d 100644
--- a/src/gui/onlineplayer.h
+++ b/src/gui/onlineplayer.h
@@ -33,7 +33,7 @@ class OnlinePlayer final
public:
OnlinePlayer(const std::string &nick,
const unsigned char status,
- const signed char level,
+ const unsigned char level,
const GenderT gender,
const signed char version,
const int group) :
@@ -82,7 +82,7 @@ class OnlinePlayer final
unsigned char mStatus;
- signed char mLevel;
+ unsigned char mLevel;
signed char mVersion;