summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-18 18:56:46 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-18 19:07:49 +0300
commite85c6227064c905945a4d49a5e11a0078243a1ac (patch)
tree01cab11bccef2c2b47f78d1f32884f6e199db2bd /src/being/being.h
parent3c7d4f339c20bc665efa6f6666171f0ca610203b (diff)
downloadplus-e85c6227064c905945a4d49a5e11a0078243a1ac.tar.gz
plus-e85c6227064c905945a4d49a5e11a0078243a1ac.tar.bz2
plus-e85c6227064c905945a4d49a5e11a0078243a1ac.tar.xz
plus-e85c6227064c905945a4d49a5e11a0078243a1ac.zip
add missing const in being classes.
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 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);