From 65539d91787bf2b122f833781fed8b6aa9bc13cd Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Mon, 11 Jun 2007 14:27:48 +0000 Subject: Fixed a bug that prevented being-controlled particles from being deleted (thanks to tuchs for reporting). --- src/particle.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/particle.h') 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 */ -- cgit v1.2.3-70-g09d2