summaryrefslogtreecommitdiff
path: root/src/particle/textparticle.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-16 15:02:46 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-16 15:02:46 +0300
commit8ae877cf5d4abd2c97d299c5067c6d2f77dd2811 (patch)
tree7d557177a681aa8ddc4331d22bf0f1d126cb4051 /src/particle/textparticle.cpp
parent8c2820ce9a67bf6e0691e4d72804a2dd1a2a3eac (diff)
downloadmanaplus-8ae877cf5d4abd2c97d299c5067c6d2f77dd2811.tar.gz
manaplus-8ae877cf5d4abd2c97d299c5067c6d2f77dd2811.tar.bz2
manaplus-8ae877cf5d4abd2c97d299c5067c6d2f77dd2811.tar.xz
manaplus-8ae877cf5d4abd2c97d299c5067c6d2f77dd2811.zip
Add nonnull attributes to particle classes.
Diffstat (limited to 'src/particle/textparticle.cpp')
-rw-r--r--src/particle/textparticle.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/particle/textparticle.cpp b/src/particle/textparticle.cpp
index 274ba39cc..9acfb4110 100644
--- a/src/particle/textparticle.cpp
+++ b/src/particle/textparticle.cpp
@@ -47,9 +47,6 @@ void TextParticle::draw(Graphics *restrict const graphics,
const int offsetX,
const int offsetY) const restrict2
{
- if (!mColor || !mTextFont)
- return;
-
BLOCK_START("TextParticle::draw")
if (!isAlive())
{