summaryrefslogtreecommitdiff
path: root/src/being/castingeffect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/castingeffect.cpp')
-rw-r--r--src/being/castingeffect.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/being/castingeffect.cpp b/src/being/castingeffect.cpp
index 14b9051e7..872743f82 100644
--- a/src/being/castingeffect.cpp
+++ b/src/being/castingeffect.cpp
@@ -83,9 +83,11 @@ void CastingEffect::draw(Graphics *const graphics,
mRectSize));
if (mSprite != nullptr)
{
- mSprite->draw(graphics,
- mAnimationX + offsetX,
- mAnimationY + offsetY);
+ mSprite->drawRescaled(graphics,
+ mRectX + offsetX,
+ mRectY + offsetY,
+ mRectSize,
+ mRectSize);
}
}