summaryrefslogtreecommitdiff
path: root/src/compoundsprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compoundsprite.cpp')
-rw-r--r--src/compoundsprite.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compoundsprite.cpp b/src/compoundsprite.cpp
index c6243c00c..fa5b4b202 100644
--- a/src/compoundsprite.cpp
+++ b/src/compoundsprite.cpp
@@ -548,8 +548,8 @@ void CompoundSprite::initCurrentCacheItem() const
mCacheItem->alphaImage = mAlphaImage;
// mCacheItem->alpha = mAlpha;
- SpriteConstIterator it, it_end;
- for (it = mSprites.begin(), it_end = mSprites.end(); it != it_end; ++ it)
+ for (SpriteConstIterator it = mSprites.begin(), it_end = mSprites.end();
+ it != it_end; ++ it)
{
if (*it)
mCacheItem->data.push_back((*it)->getHash());