diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-07-17 23:26:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-07-17 23:26:59 +0300 |
commit | 7e0a97d2521b9ce57003176e82a0b5564aa003c2 (patch) | |
tree | 5b2cfe1afe09bea1063f783050c1fb549daee76d /src/textcommand.h | |
parent | f68cbf700a99f2f184715a5b8025bcb4b6525391 (diff) | |
download | manaverse-7e0a97d2521b9ce57003176e82a0b5564aa003c2.tar.gz manaverse-7e0a97d2521b9ce57003176e82a0b5564aa003c2.tar.bz2 manaverse-7e0a97d2521b9ce57003176e82a0b5564aa003c2.tar.xz manaverse-7e0a97d2521b9ce57003176e82a0b5564aa003c2.zip |
Fix more code style and additional warnings.
Diffstat (limited to 'src/textcommand.h')
-rw-r--r-- | src/textcommand.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/textcommand.h b/src/textcommand.h index 7cab06317..3d95b06bd 100644 --- a/src/textcommand.h +++ b/src/textcommand.h @@ -109,10 +109,10 @@ class TextCommand MagicSchool getSchool() const { return mSchool; } - int getBaseLvl() const + unsigned getBaseLvl() const { return mBaseLvl; } - int getSchoolLvl() const + unsigned getSchoolLvl() const { return mSchoolLvl; } TextCommandType getCommandType() const @@ -169,8 +169,8 @@ class TextCommand unsigned int mId; int mMana; MagicSchool mSchool; - int mBaseLvl; - int mSchoolLvl; + unsigned mBaseLvl; + unsigned mSchoolLvl; TextCommandType mCommandType; Image *mImage; }; |