summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-27 23:43:39 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-27 23:43:39 +0300
commitcdfa51afa1adc0d35055c07f7c6c0c9d42649bea (patch)
tree6372d2de1b3e1fa8ac642259a738bb29e107dbfd
parentee0e11ec941fd0847cd24464d960605147a20c61 (diff)
downloadmv-cdfa51afa1adc0d35055c07f7c6c0c9d42649bea.tar.gz
mv-cdfa51afa1adc0d35055c07f7c6c0c9d42649bea.tar.bz2
mv-cdfa51afa1adc0d35055c07f7c6c0c9d42649bea.tar.xz
mv-cdfa51afa1adc0d35055c07f7c6c0c9d42649bea.zip
Remove default parameters from particlevector.
-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)