summaryrefslogtreecommitdiff
path: root/src/animatedsprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/animatedsprite.cpp')
-rw-r--r--src/animatedsprite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animatedsprite.cpp b/src/animatedsprite.cpp
index 93f8c6009..97424fbfb 100644
--- a/src/animatedsprite.cpp
+++ b/src/animatedsprite.cpp
@@ -294,7 +294,7 @@ void AnimatedSprite::draw(Graphics *const graphics,
if (image->getAlpha() != mAlpha)
image->setAlpha(mAlpha);
- graphics->drawImage2(image,
+ graphics->drawImage(image,
posX + mFrame->offsetX, posY + mFrame->offsetY);
}