diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-08 22:48:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-08 22:48:11 +0300 |
commit | 767b8400fb086616616a298655f0bc2eaf239256 (patch) | |
tree | 9d82215887c79c596127506f50daf2ed31c23d8c /src/avatar.h | |
parent | cd0de3bd2668294ab3174d3b5f032fefc25fa0e8 (diff) | |
download | plus-767b8400fb086616616a298655f0bc2eaf239256.tar.gz plus-767b8400fb086616616a298655f0bc2eaf239256.tar.bz2 plus-767b8400fb086616616a298655f0bc2eaf239256.tar.xz plus-767b8400fb086616616a298655f0bc2eaf239256.zip |
Fix code style in other files.
Diffstat (limited to 'src/avatar.h')
-rw-r--r-- | src/avatar.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/avatar.h b/src/avatar.h index 60e68a948..f8f8d9941 100644 --- a/src/avatar.h +++ b/src/avatar.h @@ -23,10 +23,12 @@ #ifndef AVATAR_H #define AVATAR_H -#include "localconsts.h" +#include "being/gender.h" #include <string> +#include "localconsts.h" + enum AvatarType { AVATAR_PLAYER = 0 @@ -154,10 +156,10 @@ public: void setCharId(const int id) { mCharId = id; } - int getGender() const A_WARN_UNUSED + Gender getGender() const A_WARN_UNUSED { return mGender; } - void setGender(const int g) + void setGender(const Gender g) { mGender = g; } int getRace() const A_WARN_UNUSED @@ -192,7 +194,7 @@ protected: int mY; int mType; int mExp; - int mGender; + Gender mGender; int mRace; std::string mIp; bool mOnline; |