summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/being/actorsprite.cpp2
-rw-r--r--src/particle/particlevector.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/being/actorsprite.cpp b/src/being/actorsprite.cpp
index 2df91d041..0682a7a7f 100644
--- a/src/being/actorsprite.cpp
+++ b/src/being/actorsprite.cpp
@@ -72,7 +72,7 @@ ActorSprite::ActorSprite(const BeingId id) :
CompoundSprite(),
Actor(),
mStatusEffects(),
- mStatusParticleEffects(),
+ mStatusParticleEffects(nullptr, true),
mChildParticleEffects(&mStatusParticleEffects, false),
mHorseId(0),
mId(id),
diff --git a/src/particle/particlevector.h b/src/particle/particlevector.h
index dce4ae156..ab0c886a8 100644
--- a/src/particle/particlevector.h
+++ b/src/particle/particlevector.h
@@ -37,8 +37,8 @@ class Particle;
class ParticleVector final : public ParticleContainer
{
public:
- explicit ParticleVector(ParticleContainer *const parent = nullptr,
- const bool delParent = true);
+ ParticleVector(ParticleContainer *const parent,
+ const bool delParent);
A_DELETE_COPY(ParticleVector)