summaryrefslogtreecommitdiff
path: root/src/particle/textparticle.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/textparticle.cpp
parent7752e90c8208a5ebb192f44d85174c2937fbcef8 (diff)
downloadManaVerse-558ef7174653df9d435e818bf16130443b0dd5be.tar.gz
ManaVerse-558ef7174653df9d435e818bf16130443b0dd5be.tar.bz2
ManaVerse-558ef7174653df9d435e818bf16130443b0dd5be.tar.xz
ManaVerse-558ef7174653df9d435e818bf16130443b0dd5be.zip
Add particle type into particles.
Diffstat (limited to 'src/particle/textparticle.cpp')
-rw-r--r--src/particle/textparticle.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/particle/textparticle.cpp b/src/particle/textparticle.cpp
index 9acfb4110..d41dcef2b 100644
--- a/src/particle/textparticle.cpp
+++ b/src/particle/textparticle.cpp
@@ -41,6 +41,7 @@ TextParticle::TextParticle(const std::string &restrict text,
mTextWidth(mTextFont ? mTextFont->getWidth(mText) / 2 : 1),
mOutline(outline)
{
+ mType = ParticleType::Text;
}
void TextParticle::draw(Graphics *restrict const graphics,