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