summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-30 19:53:23 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-30 19:53:23 +0300
commitd42aa0fad2f04b4e021b20b313ba6c9fb0d4e9d5 (patch)
treeae9e96faf2ae25a47b0f0f207b55d201729e3e41 /src/being/being.h
parent237449794444d60ecc4a669d78becac5372da723 (diff)
downloadmv-d42aa0fad2f04b4e021b20b313ba6c9fb0d4e9d5.tar.gz
mv-d42aa0fad2f04b4e021b20b313ba6c9fb0d4e9d5.tar.bz2
mv-d42aa0fad2f04b4e021b20b313ba6c9fb0d4e9d5.tar.xz
mv-d42aa0fad2f04b4e021b20b313ba6c9fb0d4e9d5.zip
Fix code style in being.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/being/being.h b/src/being/being.h
index 2521eb0c3..793454ca2 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -895,10 +895,10 @@ class Being : public ActorSprite, public ConfigListener
void playSfx(const SoundInfo &sound, Being *const being,
const bool main, const int x, const int y) const;
- int getLook() const
+ uint8_t getLook() const
{ return mLook; }
- void setLook(const int look);
+ void setLook(const uint8_t look);
static uint8_t genderToInt(const Gender sex) A_WARN_UNUSED;
@@ -1090,8 +1090,8 @@ class Being : public ActorSprite, public ConfigListener
int mCriticalHit;
unsigned int mPvpRank;
unsigned int mNumber;
- int mLook;
int mUsageCounter;
+ uint8_t mLook;
unsigned char mHairColor;
bool mErased;
bool mEnemy;