diff options
Diffstat (limited to 'src/simpleanimation.cpp')
-rw-r--r-- | src/simpleanimation.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/simpleanimation.cpp b/src/simpleanimation.cpp index 5ab7cf63..72045ca9 100644 --- a/src/simpleanimation.cpp +++ b/src/simpleanimation.cpp @@ -53,8 +53,7 @@ SimpleAnimation::SimpleAnimation(xmlNodePtr animationNode, SimpleAnimation::~SimpleAnimation() { - if (mAnimation) - delete mAnimation; + delete mAnimation; } bool SimpleAnimation::draw(Graphics *graphics, int posX, int posY) const |