diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-28 21:34:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-28 21:34:28 +0300 |
commit | 8d276b3f5707035600c051d1746697cf7d815140 (patch) | |
tree | b94a9b87ace1cd3638b322607fb54afdfc4c6279 /src/imagesprite.cpp | |
parent | 5ae7168e1f30efa4fd61c155eaecd55ce83bea14 (diff) | |
download | plus-8d276b3f5707035600c051d1746697cf7d815140.tar.gz plus-8d276b3f5707035600c051d1746697cf7d815140.tar.bz2 plus-8d276b3f5707035600c051d1746697cf7d815140.tar.xz plus-8d276b3f5707035600c051d1746697cf7d815140.zip |
improve other files.
Diffstat (limited to 'src/imagesprite.cpp')
-rw-r--r-- | src/imagesprite.cpp | 4 |
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); } |