summaryrefslogtreecommitdiff
path: root/src/particle
diff options
context:
space:
mode:
Diffstat (limited to 'src/particle')
-rw-r--r--src/particle/particle.cpp2
-rw-r--r--src/particle/particleemitter.cpp2
-rw-r--r--src/particle/particleengine.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/particle/particle.cpp b/src/particle/particle.cpp
index 1931e9b03..9f5708b26 100644
--- a/src/particle/particle.cpp
+++ b/src/particle/particle.cpp
@@ -465,7 +465,7 @@ Particle *Particle::addEffect(const std::string &restrict particleEffectFile,
// Other
else
{
- newParticle = new Particle();
+ newParticle = new Particle;
newParticle->setMap(mMap);
}
diff --git a/src/particle/particleemitter.cpp b/src/particle/particleemitter.cpp
index cab5dbc96..9492a01b1 100644
--- a/src/particle/particleemitter.cpp
+++ b/src/particle/particleemitter.cpp
@@ -554,7 +554,7 @@ void ParticleEmitter::createParticles(const int tick,
}
else
{
- newParticle = new Particle();
+ newParticle = new Particle;
newParticle->setMap(mMap);
}
diff --git a/src/particle/particleengine.cpp b/src/particle/particleengine.cpp
index f4ac7f8d3..b63d1c53c 100644
--- a/src/particle/particleengine.cpp
+++ b/src/particle/particleengine.cpp
@@ -118,7 +118,7 @@ bool ParticleEngine::update() restrict2
Particle *ParticleEngine::createChild() restrict2
{
- Particle *const newParticle = new Particle();
+ Particle *const newParticle = new Particle;
newParticle->setMap(mMap);
mChildParticles.push_back(newParticle);
return newParticle;
@@ -190,7 +190,7 @@ Particle *ParticleEngine::addEffect(const std::string &restrict
// Other
else
{
- newParticle = new Particle();
+ newParticle = new Particle;
newParticle->setMap(mMap);
}