summaryrefslogtreecommitdiff
path: root/src/resources/sprite/imagesprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/sprite/imagesprite.cpp')
-rw-r--r--src/resources/sprite/imagesprite.cpp2
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