projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replaced Ref and RefCounter with std::shared_ptr<>
[supertux.git]
/
src
/
object
/
bonus_block.hpp
diff --git
a/src/object/bonus_block.hpp
b/src/object/bonus_block.hpp
index
5dd506e
..
816fa19
100644
(file)
--- a/
src/object/bonus_block.hpp
+++ b/
src/object/bonus_block.hpp
@@
-50,7
+50,7
@@
protected:
public:
Contents contents;
-
MovingObject*
object;
+
std::shared_ptr<MovingObject>
object;
int hit_counter;
void draw(DrawingContext& context);