diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-05 12:33:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-05 15:48:51 +0300 |
commit | 126b1470842302537b0bc5e4527cf7fd540a9125 (patch) | |
tree | 8d98425338e7a7f01add71d762fba147fc097fc2 /src/actorsprite.cpp | |
parent | f6920653c7a958528df248ff61c372a0bd3d4f1d (diff) | |
download | mv-126b1470842302537b0bc5e4527cf7fd540a9125.tar.gz mv-126b1470842302537b0bc5e4527cf7fd540a9125.tar.bz2 mv-126b1470842302537b0bc5e4527cf7fd540a9125.tar.xz mv-126b1470842302537b0bc5e4527cf7fd540a9125.zip |
Add checks and const to animatedsprites and related classes.
Diffstat (limited to 'src/actorsprite.cpp')
-rw-r--r-- | src/actorsprite.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/actorsprite.cpp b/src/actorsprite.cpp index be7fcb165..96afb94c7 100644 --- a/src/actorsprite.cpp +++ b/src/actorsprite.cpp @@ -77,7 +77,8 @@ ActorSprite::~ActorSprite() } } -bool ActorSprite::draw(Graphics *graphics, int offsetX, int offsetY) const +bool ActorSprite::draw(Graphics *const graphics, + const int offsetX, const int offsetY) const { FUNC_BLOCK("ActorSprite::draw", 1) // TODO: Eventually, we probably should fix all sprite offsets so that |