summaryrefslogtreecommitdiff
path: root/src/being/compoundsprite.cpp
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.cpp
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.cpp')
-rw-r--r--src/being/compoundsprite.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/being/compoundsprite.cpp b/src/being/compoundsprite.cpp
index 110870c07..981125633 100644
--- a/src/being/compoundsprite.cpp
+++ b/src/being/compoundsprite.cpp
@@ -162,7 +162,8 @@ void CompoundSprite::draw(Graphics *const graphics,
}
void CompoundSprite::drawSprites(Graphics *const graphics,
- int posX, int posY) const
+ const int posX,
+ const int posY) const
{
FOR_EACH (SpriteConstIterator, it, mSprites)
{
@@ -175,7 +176,8 @@ void CompoundSprite::drawSprites(Graphics *const graphics,
}
void CompoundSprite::drawSpritesSDL(Graphics *const graphics,
- int posX, int posY) const
+ const int posX,
+ const int posY) const
{
FOR_EACH (SpriteConstIterator, it, mSprites)
{