Replaced Ref and RefCounter with std::shared_ptr<>
[supertux.git] / src / object / bonus_block.hpp
index 5dd506e..816fa19 100644 (file)
@@ -50,7 +50,7 @@ protected:
 
 public:
   Contents contents;
-  MovingObject* object;
+  std::shared_ptr<MovingObject> object;
   int hit_counter;
   void draw(DrawingContext& context);