From 4df121e6dcdf53436f50ce81dd60096ce0138a2c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 1 Sep 2012 20:49:03 +0300 Subject: Add const to more classes. --- src/actorsprite.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/actorsprite.cpp') diff --git a/src/actorsprite.cpp b/src/actorsprite.cpp index 9be6b3bca..93bb21b85 100644 --- a/src/actorsprite.cpp +++ b/src/actorsprite.cpp @@ -101,7 +101,8 @@ bool ActorSprite::draw(Graphics *graphics, int offsetX, int offsetY) const return drawSpriteAt(graphics, px, py); } -bool ActorSprite::drawSpriteAt(Graphics *graphics, int x, int y) const +bool ActorSprite::drawSpriteAt(Graphics *const graphics, + const int x, const int y) const { return CompoundSprite::draw(graphics, x, y); } -- cgit v1.2.3-60-g2f50