summaryrefslogtreecommitdiff
path: root/src/animatedsprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/animatedsprite.cpp')
-rw-r--r--src/animatedsprite.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/animatedsprite.cpp b/src/animatedsprite.cpp
index 456dc9c70..2f167e794 100644
--- a/src/animatedsprite.cpp
+++ b/src/animatedsprite.cpp
@@ -294,9 +294,9 @@ bool AnimatedSprite::draw(Graphics *const graphics,
if (image->getAlpha() != mAlpha)
image->setAlpha(mAlpha);
- return graphics->drawImage(image,
- posX + mFrame->offsetX,
- posY + mFrame->offsetY);
+ DRAW_IMAGE(graphics, image,
+ posX + mFrame->offsetX, posY + mFrame->offsetY);
+ return true;
}
bool AnimatedSprite::setSpriteDirection(const SpriteDirection direction)