summaryrefslogtreecommitdiff
path: root/src/actorsprite.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-01 20:49:03 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-02 00:37:51 +0300
commit4df121e6dcdf53436f50ce81dd60096ce0138a2c (patch)
tree7cadc707bb49e4c148ba9c182075697a9643e20a /src/actorsprite.cpp
parented3410d7eb61593a2235ddba97ce257c85e405a6 (diff)
downloadManaVerse-4df121e6dcdf53436f50ce81dd60096ce0138a2c.tar.gz
ManaVerse-4df121e6dcdf53436f50ce81dd60096ce0138a2c.tar.bz2
ManaVerse-4df121e6dcdf53436f50ce81dd60096ce0138a2c.tar.xz
ManaVerse-4df121e6dcdf53436f50ce81dd60096ce0138a2c.zip
Add const to more classes.
Diffstat (limited to 'src/actorsprite.cpp')
-rw-r--r--src/actorsprite.cpp3
1 files changed, 2 insertions, 1 deletions
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);
}