summaryrefslogtreecommitdiff
path: root/src/imagesprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/imagesprite.cpp')
-rw-r--r--src/imagesprite.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/imagesprite.cpp b/src/imagesprite.cpp
index 7d19034e5..887ef0bdd 100644
--- a/src/imagesprite.cpp
+++ b/src/imagesprite.cpp
@@ -55,8 +55,6 @@ bool ImageSprite::draw(Graphics *const graphics,
if (!mImage)
return false;
- if (mImage->getAlpha() != mAlpha)
- mImage->setAlpha(mAlpha);
-
+ mImage->setAlpha(mAlpha);
return graphics->drawImage(mImage, posX, posY);
}