More use of SurfacePtr
[supertux.git] / src / sprite / sprite_data.hpp
index f732cbe..d5e3a86 100644 (file)
@@ -61,7 +61,7 @@ private:
     /** Frames per second */
     float fps;
 
-    std::vector<Surface*> surfaces;
+    std::vector<SurfacePtr> surfaces;
   };
 
   typedef std::map <std::string, Action*> Actions;