summaryrefslogtreecommitdiff
path: root/src/imagesprite.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-05 12:33:10 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-05 15:48:51 +0300
commit126b1470842302537b0bc5e4527cf7fd540a9125 (patch)
tree8d98425338e7a7f01add71d762fba147fc097fc2 /src/imagesprite.cpp
parentf6920653c7a958528df248ff61c372a0bd3d4f1d (diff)
downloadManaVerse-126b1470842302537b0bc5e4527cf7fd540a9125.tar.gz
ManaVerse-126b1470842302537b0bc5e4527cf7fd540a9125.tar.bz2
ManaVerse-126b1470842302537b0bc5e4527cf7fd540a9125.tar.xz
ManaVerse-126b1470842302537b0bc5e4527cf7fd540a9125.zip
Add checks and const to animatedsprites and related classes.
Diffstat (limited to 'src/imagesprite.cpp')
-rw-r--r--src/imagesprite.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/imagesprite.cpp b/src/imagesprite.cpp
index 779bcfed8..7d19034e5 100644
--- a/src/imagesprite.cpp
+++ b/src/imagesprite.cpp
@@ -48,7 +48,8 @@ ImageSprite::~ImageSprite()
}
}
-bool ImageSprite::draw(Graphics* graphics, int posX, int posY) const
+bool ImageSprite::draw(Graphics *const graphics,
+ const int posX, const int posY) const
{
FUNC_BLOCK("ImageSprite::draw", 1)
if (!mImage)