summaryrefslogtreecommitdiff
path: root/src/particle/rotationalparticle.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-16 20:59:21 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-16 20:59:21 +0300
commit558ef7174653df9d435e818bf16130443b0dd5be (patch)
treed829bf585fdb416d3a70659241e0565c49b817db /src/particle/rotationalparticle.cpp
parent7752e90c8208a5ebb192f44d85174c2937fbcef8 (diff)
downloadmanaplus-558ef7174653df9d435e818bf16130443b0dd5be.tar.gz
manaplus-558ef7174653df9d435e818bf16130443b0dd5be.tar.bz2
manaplus-558ef7174653df9d435e818bf16130443b0dd5be.tar.xz
manaplus-558ef7174653df9d435e818bf16130443b0dd5be.zip
Add particle type into particles.
Diffstat (limited to 'src/particle/rotationalparticle.cpp')
-rw-r--r--src/particle/rotationalparticle.cpp2
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()