diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-16 15:02:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-16 15:02:46 +0300 |
commit | 8ae877cf5d4abd2c97d299c5067c6d2f77dd2811 (patch) | |
tree | 7d557177a681aa8ddc4331d22bf0f1d126cb4051 /src/particle/rotationalparticle.cpp | |
parent | 8c2820ce9a67bf6e0691e4d72804a2dd1a2a3eac (diff) | |
download | manaverse-8ae877cf5d4abd2c97d299c5067c6d2f77dd2811.tar.gz manaverse-8ae877cf5d4abd2c97d299c5067c6d2f77dd2811.tar.bz2 manaverse-8ae877cf5d4abd2c97d299c5067c6d2f77dd2811.tar.xz manaverse-8ae877cf5d4abd2c97d299c5067c6d2f77dd2811.zip |
Add nonnull attributes to particle classes.
Diffstat (limited to 'src/particle/rotationalparticle.cpp')
-rw-r--r-- | src/particle/rotationalparticle.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/particle/rotationalparticle.cpp b/src/particle/rotationalparticle.cpp index f5b4606ee..945517fba 100644 --- a/src/particle/rotationalparticle.cpp +++ b/src/particle/rotationalparticle.cpp @@ -53,9 +53,6 @@ RotationalParticle::~RotationalParticle() bool RotationalParticle::update() restrict2 { - if (!mAnimation) - return false; - // TODO: cache velocities to avoid spamming atan2() const int size = mAnimation->getLength(); |