Made WARNING build option usable again
[supertux.git] / src / object / ghost_particle_system.hpp
index 6a85e04..b8eebb3 100644 (file)
 #ifndef HEADER_SUPERTUX_OBJECT_GHOST_PARTICLE_SYSTEM_HPP
 #define HEADER_SUPERTUX_OBJECT_GHOST_PARTICLE_SYSTEM_HPP
 
+#include <memory>
+
 #include "object/particlesystem.hpp"
+#include "video/surface_ptr.hpp"
 
 class GhostParticleSystem : public ParticleSystem
 {
@@ -43,7 +46,7 @@ private:
     {}
   };
 
-  Surface* ghosts[2];
+  SurfacePtr ghosts[2];
 
 private:
   GhostParticleSystem(const GhostParticleSystem&);