summaryrefslogtreecommitdiff
path: root/src/simpleanimation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/simpleanimation.cpp')
-rw-r--r--src/simpleanimation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simpleanimation.cpp b/src/simpleanimation.cpp
index d0c7b7e39..31f0c7af0 100644
--- a/src/simpleanimation.cpp
+++ b/src/simpleanimation.cpp
@@ -55,13 +55,13 @@ SimpleAnimation::SimpleAnimation(xmlNodePtr animationNode,
if (mAnimation)
mCurrentFrame = mAnimation->getFrame(0);
else
- mCurrentFrame = 0;
+ mCurrentFrame = nullptr;
}
SimpleAnimation::~SimpleAnimation()
{
delete mAnimation;
- mAnimation = 0;
+ mAnimation = nullptr;
}
bool SimpleAnimation::draw(Graphics *graphics, int posX, int posY) const