diff options
Diffstat (limited to 'src/simpleanimation.cpp')
-rw-r--r-- | src/simpleanimation.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/simpleanimation.cpp b/src/simpleanimation.cpp index b1efc16e5..77e84d835 100644 --- a/src/simpleanimation.cpp +++ b/src/simpleanimation.cpp @@ -72,16 +72,15 @@ SimpleAnimation::~SimpleAnimation() } } -bool SimpleAnimation::draw(Graphics *const graphics, +void SimpleAnimation::draw(Graphics *const graphics, const int posX, const int posY) const { FUNC_BLOCK("SimpleAnimation::draw", 1) if (!mCurrentFrame || !mCurrentFrame->image) - return false; + return; DRAW_IMAGE(graphics, mCurrentFrame->image, posX + mCurrentFrame->offsetX, posY + mCurrentFrame->offsetY); - return true; } void SimpleAnimation::reset() |