summaryrefslogtreecommitdiff
path: root/src/animationparticle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/animationparticle.cpp')
-rw-r--r--src/animationparticle.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/animationparticle.cpp b/src/animationparticle.cpp
index f7683ee6..1c79556f 100644
--- a/src/animationparticle.cpp
+++ b/src/animationparticle.cpp
@@ -25,14 +25,14 @@
#include "simpleanimation.h"
AnimationParticle::AnimationParticle(Map *map, Animation *animation):
- ImageParticle(map, NULL),
+ ImageParticle(map, nullptr),
mAnimation(new SimpleAnimation(animation))
{
}
AnimationParticle::AnimationParticle(Map *map, xmlNodePtr animationNode,
const std::string& dyePalettes):
- ImageParticle(map, 0),
+ ImageParticle(map, nullptr),
mAnimation(new SimpleAnimation(animationNode, dyePalettes))
{
}
@@ -40,7 +40,7 @@ AnimationParticle::AnimationParticle(Map *map, xmlNodePtr animationNode,
AnimationParticle::~AnimationParticle()
{
delete mAnimation;
- mImage = NULL;
+ mImage = nullptr;
}
bool AnimationParticle::update()