diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-24 18:35:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-24 18:35:07 +0300 |
commit | 1d1ac3f13f96f0fa69fc57ea61af6e59d4e910a9 (patch) | |
tree | b97a0117d58e382191aaaf2d9770b9e3e0275f0f /src/particle/particle.h | |
parent | a6c1e29279d28b18012e1a87d23ff114302bd610 (diff) | |
download | manaverse-1d1ac3f13f96f0fa69fc57ea61af6e59d4e910a9.tar.gz manaverse-1d1ac3f13f96f0fa69fc57ea61af6e59d4e910a9.tar.bz2 manaverse-1d1ac3f13f96f0fa69fc57ea61af6e59d4e910a9.tar.xz manaverse-1d1ac3f13f96f0fa69fc57ea61af6e59d4e910a9.zip |
Allow kill infinite particles if parent particle will be removed.
Diffstat (limited to 'src/particle/particle.h')
-rw-r--r-- | src/particle/particle.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/particle/particle.h b/src/particle/particle.h index 7f3a743bf..e33bb986c 100644 --- a/src/particle/particle.h +++ b/src/particle/particle.h @@ -248,6 +248,8 @@ class Particle notfinal : public Actor bool isAlive() const A_WARN_UNUSED { return mAlive == ALIVE; } + void prepareToDie(); + /** * Determines whether the particle and its children are all dead */ |