diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-18 18:56:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-18 19:07:49 +0300 |
commit | e85c6227064c905945a4d49a5e11a0078243a1ac (patch) | |
tree | 01cab11bccef2c2b47f78d1f32884f6e199db2bd /src/being/being.h | |
parent | 3c7d4f339c20bc665efa6f6666171f0ca610203b (diff) | |
download | manaverse-e85c6227064c905945a4d49a5e11a0078243a1ac.tar.gz manaverse-e85c6227064c905945a4d49a5e11a0078243a1ac.tar.bz2 manaverse-e85c6227064c905945a4d49a5e11a0078243a1ac.tar.xz manaverse-e85c6227064c905945a4d49a5e11a0078243a1ac.zip |
add missing const in being classes.
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/being/being.h b/src/being/being.h index 8d7db49a5..1668d17eb 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -412,7 +412,7 @@ class Being : public ActorSprite, public ConfigListener * Draws the emotion picture above the being. */ void drawEmotion(Graphics *const graphics, const int offsetX, - const int offsetY); + const int offsetY) const; uint16_t getSubType() const { return mSubType; } @@ -878,9 +878,9 @@ class Being : public ActorSprite, public ConfigListener { mOwner = owner; } void playSfx(const SoundInfo &sound, Being *const being, - const bool main, const int x, const int y); + const bool main, const int x, const int y) const; - int getLook() + int getLook() const { return mLook; } void setLook(const int look); |