fix cr/lfs and remove trailing whitespaces...
[supertux.git] / src / badguy / willowisp.hpp
index e216716..51bdc1f 100644 (file)
@@ -1,5 +1,5 @@
 //  $Id$
-// 
+//
 //  SuperTux - "Will-O-Wisp" Badguy
 //  Copyright (C) 2006 Christoph Sommer <christoph.sommer@2006.expires.deltadevelopment.de>
 //
@@ -12,7 +12,7 @@
 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 //  GNU General Public License for more details.
-// 
+//
 //  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
@@ -27,7 +27,6 @@ class WillOWisp : public BadGuy
 {
 public:
   WillOWisp(const lisp::Lisp& reader);
-  ~WillOWisp();
 
   void activate();
   void deactivate();
@@ -50,8 +49,7 @@ private:
   std::string target_sector;
   std::string target_spawnpoint;
 
-  SoundSource* soundSource;
+  std::auto_ptr<SoundSource> sound_source;
 };
 
 #endif
-