diff options
-rw-r--r-- | src/compoundsprite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compoundsprite.cpp b/src/compoundsprite.cpp index 2792e20bb..6f80e2c7b 100644 --- a/src/compoundsprite.cpp +++ b/src/compoundsprite.cpp @@ -391,7 +391,7 @@ void CompoundSprite::redraw() const mImage = Image::load(surface); SDL_FreeSurface(surface); - if (mAlpha != 1.0f) + if (Image::mEnableAlpha) { mAlphaImage = Image::load(surfaceA); SDL_FreeSurface(surfaceA); |