summaryrefslogtreecommitdiff
path: root/src/textcommand.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-17 23:26:59 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-17 23:26:59 +0300
commit7e0a97d2521b9ce57003176e82a0b5564aa003c2 (patch)
tree5b2cfe1afe09bea1063f783050c1fb549daee76d /src/textcommand.h
parentf68cbf700a99f2f184715a5b8025bcb4b6525391 (diff)
downloadManaVerse-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.h8
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;
};