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/imageparticle.cpp | |
parent | 7752e90c8208a5ebb192f44d85174c2937fbcef8 (diff) | |
download | manaplus-558ef7174653df9d435e818bf16130443b0dd5be.tar.gz manaplus-558ef7174653df9d435e818bf16130443b0dd5be.tar.bz2 manaplus-558ef7174653df9d435e818bf16130443b0dd5be.tar.xz manaplus-558ef7174653df9d435e818bf16130443b0dd5be.zip |
Add particle type into particles.
Diffstat (limited to 'src/particle/imageparticle.cpp')
-rw-r--r-- | src/particle/imageparticle.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/particle/imageparticle.cpp b/src/particle/imageparticle.cpp index 5a67886c0..e58a9e887 100644 --- a/src/particle/imageparticle.cpp +++ b/src/particle/imageparticle.cpp @@ -34,6 +34,8 @@ ImageParticle::ImageParticle(Image *restrict const image) : Particle(), mImage(image) { + mType = ParticleType::Image; + if (mImage) { mImage->incRef(); |