Two new Badguys: Toad and Mole.
[supertux.git] / src / badguy / flame.hpp
index e3cd0aa..ac8a8fc 100644 (file)
@@ -16,7 +16,6 @@
 //  You should have received a copy of the GNU General Public License
 //  along with this program; if not, write to the Free Software
 //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-
 #ifndef __FLAME_H__
 #define __FLAME_H__
 
@@ -26,7 +25,7 @@ class Flame : public BadGuy
 {
 public:
   Flame(const lisp::Lisp& reader);
-  ~Flame();
+  Flame(const Flame& flame);
 
   void activate();
   void deactivate();
@@ -40,8 +39,7 @@ private:
   float radius;
   float speed;
 
-  SoundSource* source;
+  std::auto_ptr<SoundSource> sound_source;
 };
 
 #endif
-