Remove particles when they get off the screen.
[supertux.git] / src / gameobjs.h
index 051c0ea..41de71a 100644 (file)
@@ -190,6 +190,7 @@ private:
   float size;
   Vector vel, accel;
   Timer timer;
+  bool live_forever;
 
   struct Particle {
     Vector pos;