Fix another round of squirrel coverity issues
[supertux.git] / src / worldmap / special_tile.hpp
index 6fd13de..991ab3b 100644 (file)
@@ -1,5 +1,5 @@
 //  SuperTux
-//  Copyright (C) 2004 Ingo Ruhnke <grumbel@gmx.de>
+//  Copyright (C) 2004 Ingo Ruhnke <grumbel@gmail.com>
 //  Copyright (C) 2006 Christoph Sommer <christoph.sommer@2006.expires.deltadevelopment.de>
 //
 //  This program is free software: you can redistribute it and/or modify
 #include <memory>
 #include <string>
 
-#include "util/reader_fwd.hpp"
 #include "math/vector.hpp"
+#include "sprite/sprite_ptr.hpp"
 #include "supertux/game_object.hpp"
-
-class Sprite;
+#include "util/reader_fwd.hpp"
 
 namespace worldmap {
 
@@ -42,7 +41,7 @@ public:
   Vector pos;
 
   /** Sprite to render instead of guessing what image to draw */
-  std::auto_ptr<Sprite> sprite;
+  SpritePtr sprite;
 
   /** Message to show in the Map */
   std::string map_message;