diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:20:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:20:41 +0300 |
commit | 65c3c7a8ac6437d507597b840fc20dc1cad5fbf1 (patch) | |
tree | fc6ff6da1aa6a97e4cd8f84309010d47a65b01ff /src/being/compoundsprite.cpp | |
parent | 8fb2c062cd1c03f032b99f4a7e7663c0653ba837 (diff) | |
download | mv-65c3c7a8ac6437d507597b840fc20dc1cad5fbf1.tar.gz mv-65c3c7a8ac6437d507597b840fc20dc1cad5fbf1.tar.bz2 mv-65c3c7a8ac6437d507597b840fc20dc1cad5fbf1.tar.xz mv-65c3c7a8ac6437d507597b840fc20dc1cad5fbf1.zip |
Add missing const in being directory.
Diffstat (limited to 'src/being/compoundsprite.cpp')
-rw-r--r-- | src/being/compoundsprite.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/being/compoundsprite.cpp b/src/being/compoundsprite.cpp index 110870c07..981125633 100644 --- a/src/being/compoundsprite.cpp +++ b/src/being/compoundsprite.cpp @@ -162,7 +162,8 @@ void CompoundSprite::draw(Graphics *const graphics, } void CompoundSprite::drawSprites(Graphics *const graphics, - int posX, int posY) const + const int posX, + const int posY) const { FOR_EACH (SpriteConstIterator, it, mSprites) { @@ -175,7 +176,8 @@ void CompoundSprite::drawSprites(Graphics *const graphics, } void CompoundSprite::drawSpritesSDL(Graphics *const graphics, - int posX, int posY) const + const int posX, + const int posY) const { FOR_EACH (SpriteConstIterator, it, mSprites) { |