diff options
Diffstat (limited to 'src/compoundsprite.cpp')
-rw-r--r-- | src/compoundsprite.cpp | 3 |
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; |