summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/being/castingeffect.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/being/castingeffect.cpp b/src/being/castingeffect.cpp
index cd7bec82a..14b9051e7 100644
--- a/src/being/castingeffect.cpp
+++ b/src/being/castingeffect.cpp
@@ -31,6 +31,7 @@
#include "resources/sprite/animatedsprite.h"
#include "utils/checkutils.h"
+#include "utils/delete2.h"
#include "debug.h"
@@ -65,6 +66,7 @@ CastingEffect::CastingEffect(const int skillId,
CastingEffect::~CastingEffect()
{
+ delete2(mSprite);
}
void CastingEffect::draw(Graphics *const graphics,