summaryrefslogtreecommitdiff
path: root/src/being/compoundsprite.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-17 23:04:12 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:18 +0300
commit6fdb272d7bc887de234daa2c056d9926cebdfe2b (patch)
tree2cb626571f1ca99a5fbe381e9729087a3d932b97 /src/being/compoundsprite.cpp
parented22f9496d56bdfd5f4d13d292326111e79263e4 (diff)
downloadmanaplus-6fdb272d7bc887de234daa2c056d9926cebdfe2b.tar.gz
manaplus-6fdb272d7bc887de234daa2c056d9926cebdfe2b.tar.bz2
manaplus-6fdb272d7bc887de234daa2c056d9926cebdfe2b.tar.xz
manaplus-6fdb272d7bc887de234daa2c056d9926cebdfe2b.zip
fix const in declarations in compoundsprite.
Diffstat (limited to 'src/being/compoundsprite.cpp')
-rw-r--r--src/being/compoundsprite.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/being/compoundsprite.cpp b/src/being/compoundsprite.cpp
index 64231ee05..f7adddf50 100644
--- a/src/being/compoundsprite.cpp
+++ b/src/being/compoundsprite.cpp
@@ -137,7 +137,7 @@ bool CompoundSprite::draw(Graphics *const graphics,
}
void CompoundSprite::drawSprites(Graphics *const graphics,
- const int posX, const int posY) const
+ int posX, int posY) const
{
FOR_EACH (SpriteConstIterator, it, mSprites)
{
@@ -150,7 +150,7 @@ void CompoundSprite::drawSprites(Graphics *const graphics,
}
void CompoundSprite::drawSpritesSDL(Graphics *const graphics,
- const int posX, const int posY) const
+ int posX, int posY) const
{
FOR_EACH (SpriteConstIterator, it, mSprites)
{
@@ -537,7 +537,7 @@ void CompoundSprite::initCurrentCacheItem() const
}
}
-bool CompoundSprite::updateNumber(unsigned num)
+bool CompoundSprite::updateNumber(const unsigned num)
{
bool res(false);
FOR_EACH (SpriteConstIterator, it, mSprites)