summaryrefslogtreecommitdiff
path: root/src/being/compoundsprite.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-20 21:20:41 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-20 21:20:41 +0300
commit65c3c7a8ac6437d507597b840fc20dc1cad5fbf1 (patch)
treefc6ff6da1aa6a97e4cd8f84309010d47a65b01ff /src/being/compoundsprite.h
parent8fb2c062cd1c03f032b99f4a7e7663c0653ba837 (diff)
downloadmanaverse-65c3c7a8ac6437d507597b840fc20dc1cad5fbf1.tar.gz
manaverse-65c3c7a8ac6437d507597b840fc20dc1cad5fbf1.tar.bz2
manaverse-65c3c7a8ac6437d507597b840fc20dc1cad5fbf1.tar.xz
manaverse-65c3c7a8ac6437d507597b840fc20dc1cad5fbf1.zip
Add missing const in being directory.
Diffstat (limited to 'src/being/compoundsprite.h')
-rw-r--r--src/being/compoundsprite.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/being/compoundsprite.h b/src/being/compoundsprite.h
index 88e8486df..797ae767c 100644
--- a/src/being/compoundsprite.h
+++ b/src/being/compoundsprite.h
@@ -95,10 +95,12 @@ class CompoundSprite notfinal : public Sprite
void ensureSize(size_t layerCount);
virtual void drawSprites(Graphics *const graphics,
- int posX, int posY) const;
+ const int posX,
+ const int posY) const;
virtual void drawSpritesSDL(Graphics *const graphics,
- int posX, int posY) const;
+ const int posX,
+ const int posY) const;
/**
* Returns the curent frame in the current animation of the given