diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-27 23:43:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-27 23:43:39 +0300 |
commit | cdfa51afa1adc0d35055c07f7c6c0c9d42649bea (patch) | |
tree | 6372d2de1b3e1fa8ac642259a738bb29e107dbfd | |
parent | ee0e11ec941fd0847cd24464d960605147a20c61 (diff) | |
download | ManaVerse-cdfa51afa1adc0d35055c07f7c6c0c9d42649bea.tar.gz ManaVerse-cdfa51afa1adc0d35055c07f7c6c0c9d42649bea.tar.bz2 ManaVerse-cdfa51afa1adc0d35055c07f7c6c0c9d42649bea.tar.xz ManaVerse-cdfa51afa1adc0d35055c07f7c6c0c9d42649bea.zip |
Remove default parameters from particlevector.
-rw-r--r-- | src/being/actorsprite.cpp | 2 | ||||
-rw-r--r-- | src/particle/particlevector.h | 4 |
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) |