From d42aa0fad2f04b4e021b20b313ba6c9fb0d4e9d5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 30 Apr 2014 19:53:23 +0300 Subject: Fix code style in being. --- src/being/being.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/being/being.h') 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; -- cgit v1.2.3-60-g2f50