diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-04 18:13:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-04 18:13:13 +0300 |
commit | 367c92d1ac584eb7ad5812f717aea27456f44e5f (patch) | |
tree | db2cf89deaf3a92815d2a5d2d3f6ce2f16995dc7 /src/resources/sprite/imagesprite.cpp | |
parent | 9c52e6525e338da2170a86e57cefc0fe1c6701e3 (diff) | |
download | plus-367c92d1ac584eb7ad5812f717aea27456f44e5f.tar.gz plus-367c92d1ac584eb7ad5812f717aea27456f44e5f.tar.bz2 plus-367c92d1ac584eb7ad5812f717aea27456f44e5f.tar.xz plus-367c92d1ac584eb7ad5812f717aea27456f44e5f.zip |
Remove getter getAlpha form image class.
Diffstat (limited to 'src/resources/sprite/imagesprite.cpp')
-rw-r--r-- | src/resources/sprite/imagesprite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/sprite/imagesprite.cpp b/src/resources/sprite/imagesprite.cpp index c3258ca44..790bcadf8 100644 --- a/src/resources/sprite/imagesprite.cpp +++ b/src/resources/sprite/imagesprite.cpp @@ -30,7 +30,7 @@ ImageSprite::ImageSprite(Image *const image) : { if (mImage) { - mAlpha = mImage->getAlpha(); + mAlpha = mImage->mAlpha; mImage->incRef(); } else |