summaryrefslogtreecommitdiff
path: root/src/compoundsprite.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-14 11:27:04 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-14 12:34:23 +0300
commita7d7346b9eb3fa62a8912e31d5c00f8e05390425 (patch)
treeba2d006e8aaac74138eb13ba458d30abf8f01182 /src/compoundsprite.cpp
parent9569f124d176b4220f28f9a41812c33883737228 (diff)
downloadManaVerse-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.tar.gz
ManaVerse-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.tar.bz2
ManaVerse-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.tar.xz
ManaVerse-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.zip
some more style fixes from cpplint.
Diffstat (limited to 'src/compoundsprite.cpp')
-rw-r--r--src/compoundsprite.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compoundsprite.cpp b/src/compoundsprite.cpp
index 24fc7bbdb..9d5e057b2 100644
--- a/src/compoundsprite.cpp
+++ b/src/compoundsprite.cpp
@@ -113,7 +113,7 @@ bool CompoundSprite::draw(Graphics *const graphics,
if (mNeedsRedraw)
updateImages();
- if (mSprites.empty()) // Nothing to draw
+ if (mSprites.empty()) // Nothing to draw
return false;
if (mAlpha == 1.0f && mImage)
@@ -310,7 +310,6 @@ unsigned int CompoundSprite::getFrameCount(unsigned int layer)
void CompoundSprite::redraw() const
{
-
#if SDL_BYTEORDER == SDL_BIG_ENDIAN
const int rmask = 0xff000000;
const int gmask = 0x00ff0000;