fix
[supertux.git] / src / badguy / willowisp.hpp
index e216716..ced7230 100644 (file)
@@ -27,7 +27,6 @@ class WillOWisp : public BadGuy
 {
 public:
   WillOWisp(const lisp::Lisp& reader);
-  ~WillOWisp();
 
   void activate();
   void deactivate();
@@ -50,7 +49,7 @@ private:
   std::string target_sector;
   std::string target_spawnpoint;
 
-  SoundSource* soundSource;
+  std::auto_ptr<SoundSource> sound_source;
 };
 
 #endif