Fix for coverity #29394
[supertux.git] / src / object / rainsplash.hpp
index ad4f85a..279618a 100644 (file)
@@ -34,7 +34,7 @@ protected:
   virtual void draw(DrawingContext& context);
 
 private:
-  std::auto_ptr<Sprite> sprite;
+  SpritePtr sprite;
   Vector position;
   int frame;
 };