Proper fix for waterfall tiles
[supertux.git] / src / badguy / willowisp.hpp
index 19e4bb1..0cf10dc 100644 (file)
@@ -26,7 +26,7 @@ class SoundSource;
 #include "scripting/willowisp.hpp"
 #include "supertux/script_interface.hpp"
 
-class WillOWisp : public BadGuy, 
+class WillOWisp : public BadGuy,
                   public scripting::WillOWisp,
                   public ScriptInterface
 {
@@ -73,14 +73,15 @@ private:
   std::string target_spawnpoint;
   std::string hit_script;
 
-  std::auto_ptr<SoundSource> sound_source;
+  std::unique_ptr<SoundSource> sound_source;
 
-  std::auto_ptr<Path>        path;
-  std::auto_ptr<PathWalker>  walker;
+  std::unique_ptr<Path>        path;
+  std::unique_ptr<PathWalker>  walker;
 
   float flyspeed;
   float track_range;
   float vanish_range;
+  SpritePtr lightsprite;
 };
 
 #endif