summaryrefslogtreecommitdiff
path: root/src/being/compoundsprite.cpp
diff options
context:
space:
mode:
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)
{