diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-24 18:29:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-24 18:30:16 +0300 |
commit | a316d537dce50f4b4e1e10f5c26a7851baddbd8b (patch) | |
tree | 078de355216db6dab67df9575402cdba7d537dbd /src/compoundsprite.cpp | |
parent | cb00b6fe126afe5fff8fc7ff491fda6003ea68f2 (diff) | |
download | manaplus-a316d537dce50f4b4e1e10f5c26a7851baddbd8b.tar.gz manaplus-a316d537dce50f4b4e1e10f5c26a7851baddbd8b.tar.bz2 manaplus-a316d537dce50f4b4e1e10f5c26a7851baddbd8b.tar.xz manaplus-a316d537dce50f4b4e1e10f5c26a7851baddbd8b.zip |
Small style changes.
Also fix overloaded methods visibility.
Diffstat (limited to 'src/compoundsprite.cpp')
-rw-r--r-- | src/compoundsprite.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compoundsprite.cpp b/src/compoundsprite.cpp index a6f0c3d77..53caedc47 100644 --- a/src/compoundsprite.cpp +++ b/src/compoundsprite.cpp @@ -175,7 +175,7 @@ int CompoundSprite::getWidth() const for (SpriteConstIterator it = mSprites.begin(), it_end = mSprites.end(); it != it_end; ++ it) { - if ((base = (*it))) + if (base = *it) break; } @@ -192,7 +192,7 @@ int CompoundSprite::getHeight() const for (SpriteConstIterator it = mSprites.begin(), it_end = mSprites.end(); it != it_end; ++ it) { - if ((base = (*it))) + if (base = *it) break; } |