diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-16 20:59:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-16 20:59:21 +0300 |
commit | 558ef7174653df9d435e818bf16130443b0dd5be (patch) | |
tree | d829bf585fdb416d3a70659241e0565c49b817db /src/particle/rotationalparticle.cpp | |
parent | 7752e90c8208a5ebb192f44d85174c2937fbcef8 (diff) | |
download | mv-558ef7174653df9d435e818bf16130443b0dd5be.tar.gz mv-558ef7174653df9d435e818bf16130443b0dd5be.tar.bz2 mv-558ef7174653df9d435e818bf16130443b0dd5be.tar.xz mv-558ef7174653df9d435e818bf16130443b0dd5be.zip |
Add particle type into particles.
Diffstat (limited to 'src/particle/rotationalparticle.cpp')
-rw-r--r-- | src/particle/rotationalparticle.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/particle/rotationalparticle.cpp b/src/particle/rotationalparticle.cpp index 945517fba..1fa9f93b9 100644 --- a/src/particle/rotationalparticle.cpp +++ b/src/particle/rotationalparticle.cpp @@ -35,6 +35,7 @@ RotationalParticle::RotationalParticle(Animation *restrict const animation) : ImageParticle(nullptr), mAnimation(new SimpleAnimation(animation)) { + mType = ParticleType::Rotational; } RotationalParticle::RotationalParticle(const XmlNodePtr animationNode, @@ -43,6 +44,7 @@ RotationalParticle::RotationalParticle(const XmlNodePtr animationNode, ImageParticle(nullptr), mAnimation(new SimpleAnimation(animationNode, dyePalettes)) { + mType = ParticleType::Rotational; } RotationalParticle::~RotationalParticle() |