summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-02 22:04:57 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-02 22:04:57 +0300
commit0f226f2e42c1a351d52eecdfca89e99f0358ee42 (patch)
tree9d62987eedf48ba3d7b9f6221003c3d64476b1e4
parentbf9c889b9ce882ff3ddb357c691942e520b1aa2a (diff)
downloadmv-0f226f2e42c1a351d52eecdfca89e99f0358ee42.tar.gz
mv-0f226f2e42c1a351d52eecdfca89e99f0358ee42.tar.bz2
mv-0f226f2e42c1a351d52eecdfca89e99f0358ee42.tar.xz
mv-0f226f2e42c1a351d52eecdfca89e99f0358ee42.zip
fix char sign in online list in tmw like servers.
-rw-r--r--src/gui/windows/whoisonline.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/windows/whoisonline.h b/src/gui/windows/whoisonline.h
index 860eeacda..5a48a8a03 100644
--- a/src/gui/windows/whoisonline.h
+++ b/src/gui/windows/whoisonline.h
@@ -42,8 +42,8 @@ class OnlinePlayer final
{
public:
OnlinePlayer(const std::string &nick, const unsigned char status,
- const char level, const unsigned char gender,
- const char version) :
+ const signed char level, const unsigned char gender,
+ const signed char version) :
mNick(nick),
mText(""),
mStatus(status),
@@ -86,9 +86,9 @@ class OnlinePlayer final
unsigned char mStatus;
- char mLevel;
+ signed char mLevel;
- char mVersion;
+ signed char mVersion;
unsigned char mGender;