summaryrefslogtreecommitdiff
path: root/src/imagesprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/imagesprite.cpp')
-rw-r--r--src/imagesprite.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/imagesprite.cpp b/src/imagesprite.cpp
index 89b33937a..5e9cc9463 100644
--- a/src/imagesprite.cpp
+++ b/src/imagesprite.cpp
@@ -56,5 +56,6 @@ bool ImageSprite::draw(Graphics *const graphics,
return false;
mImage->setAlpha(mAlpha);
- return graphics->drawImage(mImage, posX, posY);
+ DRAW_IMAGE(graphics, mImage, posX, posY);
+ return true;
}