diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-29 14:09:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-29 14:09:23 +0300 |
commit | 5e988995513762efc328dc0c592e191b49622d30 (patch) | |
tree | aa81c3e4757e50cb063a0ef433e1a5d0b896c7d7 /src/gui | |
parent | cc3d90c515331acab2f888fe9c3e72ed321f7f1a (diff) | |
download | plus-5e988995513762efc328dc0c592e191b49622d30.tar.gz plus-5e988995513762efc328dc0c592e191b49622d30.tar.bz2 plus-5e988995513762efc328dc0c592e191b49622d30.tar.xz plus-5e988995513762efc328dc0c592e191b49622d30.zip |
Fix incorrect level in update list in tmw server.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/whoisonline.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/gui/whoisonline.h b/src/gui/whoisonline.h index feaec3ab4..d2f0c30d0 100644 --- a/src/gui/whoisonline.h +++ b/src/gui/whoisonline.h @@ -46,8 +46,7 @@ class OnlinePlayer { public: OnlinePlayer(std::string nick, unsigned char status, - unsigned char level, unsigned char gender, - unsigned char version) : + char level, unsigned char gender, char version) : mNick(nick), mText(""), mStatus(status), @@ -63,10 +62,10 @@ class OnlinePlayer unsigned char getStaus() const { return mStatus; } - unsigned char getVersion() const + char getVersion() const { return mVersion; } - unsigned char getLevel() const + char getLevel() const { return mLevel; } const std::string getText() @@ -74,7 +73,7 @@ class OnlinePlayer void setText(std::string str); - void setLevel(unsigned char level) + void setLevel(char level) { mLevel = level; } private: @@ -84,9 +83,9 @@ class OnlinePlayer unsigned char mStatus; - unsigned char mLevel; + char mLevel; - unsigned char mVersion; + char mVersion; unsigned char mGender; }; |