summaryrefslogtreecommitdiff
path: root/src/resources/animation/simpleanimation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/animation/simpleanimation.cpp')
-rw-r--r--src/resources/animation/simpleanimation.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/resources/animation/simpleanimation.cpp b/src/resources/animation/simpleanimation.cpp
index ed92d2b50..3ee18830d 100644
--- a/src/resources/animation/simpleanimation.cpp
+++ b/src/resources/animation/simpleanimation.cpp
@@ -141,8 +141,7 @@ Image *SimpleAnimation::getCurrentImage() const
{
if (mCurrentFrame != nullptr)
return mCurrentFrame->image;
- else
- return nullptr;
+ return nullptr;
}
void SimpleAnimation::initializeAnimation(XmlNodeConstPtr animationNode,