summaryrefslogtreecommitdiff
path: root/src/particle.h
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2007-06-11 14:27:48 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2007-06-11 14:27:48 +0000
commit65539d91787bf2b122f833781fed8b6aa9bc13cd (patch)
tree5be373399b9168d1898a887166cccaa32743af53 /src/particle.h
parent93a3d067c7f9ffaed785baaa021c572eed0ef57c (diff)
downloadmana-client-65539d91787bf2b122f833781fed8b6aa9bc13cd.tar.gz
mana-client-65539d91787bf2b122f833781fed8b6aa9bc13cd.tar.bz2
mana-client-65539d91787bf2b122f833781fed8b6aa9bc13cd.tar.xz
mana-client-65539d91787bf2b122f833781fed8b6aa9bc13cd.zip
Fixed a bug that prevented being-controlled particles from being deleted (thanks to tuchs for reporting).
Diffstat (limited to 'src/particle.h')
-rw-r--r--src/particle.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/particle.h b/src/particle.h
index 7a747a5f..9e9223c7 100644
--- a/src/particle.h
+++ b/src/particle.h
@@ -243,6 +243,9 @@ class Particle : public Sprite
void setDieDistance(float dist)
{ mInvDieDistance = 1.0f / dist; }
+ bool isAlive()
+ { return mAlive; }
+
/**
* Manually marks the particle for deletion
*/