diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-17 23:04:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:18 +0300 |
commit | 6fdb272d7bc887de234daa2c056d9926cebdfe2b (patch) | |
tree | 2cb626571f1ca99a5fbe381e9729087a3d932b97 | |
parent | ed22f9496d56bdfd5f4d13d292326111e79263e4 (diff) | |
download | manaverse-6fdb272d7bc887de234daa2c056d9926cebdfe2b.tar.gz manaverse-6fdb272d7bc887de234daa2c056d9926cebdfe2b.tar.bz2 manaverse-6fdb272d7bc887de234daa2c056d9926cebdfe2b.tar.xz manaverse-6fdb272d7bc887de234daa2c056d9926cebdfe2b.zip |
fix const in declarations in compoundsprite.
-rw-r--r-- | src/being/compoundsprite.cpp | 6 |
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) |