fix
[supertux.git] / src / badguy / willowisp.hpp
index ce45ced..ced7230 100644 (file)
@@ -22,7 +22,6 @@
 #define __WILLOWISP_H__
 
 #include "badguy.hpp"
-#include "audio/managed_sound_source.hpp"
 
 class WillOWisp : public BadGuy
 {
@@ -38,8 +37,6 @@ public:
 
   virtual void draw(DrawingContext& context);
 
-  virtual WillOWisp* clone() const { return new WillOWisp(*this); }
-
 protected:
   HitResponse collision_player(Player& player, const CollisionHit& hit);
 
@@ -52,7 +49,7 @@ private:
   std::string target_sector;
   std::string target_spawnpoint;
 
-  ManagedSoundSource soundSource;
+  std::auto_ptr<SoundSource> sound_source;
 };
 
 #endif