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
/
endsequence_fireworks.cpp
diff --git
a/src/object/endsequence_fireworks.cpp
b/src/object/endsequence_fireworks.cpp
index
f2f0ba4
..
b971b25
100644
(file)
--- a/
src/object/endsequence_fireworks.cpp
+++ b/
src/object/endsequence_fireworks.cpp
@@
-41,7
+41,7
@@
EndSequenceFireworks::starting()
{
EndSequence::starting();
endsequence_timer.start(7.3f * ScreenManager::current()->get_speed());
- Sector::current()->add_object(
new Fireworks
());
+ Sector::current()->add_object(
std::make_shared<Fireworks>
());
}
void