projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New powerups added to cheat menu
[supertux.git]
/
src
/
object
/
bicycle_platform.cpp
diff --git
a/src/object/bicycle_platform.cpp
b/src/object/bicycle_platform.cpp
index
43a8a68
..
4ff074e
100644
(file)
--- a/
src/object/bicycle_platform.cpp
+++ b/
src/object/bicycle_platform.cpp
@@
-92,7
+92,7
@@
void
BicyclePlatform::update(float elapsed_time)
{
if (!slave) {
- Sector::current()->add_object(
new BicyclePlatform
(this));
+ Sector::current()->add_object(
std::make_shared<BicyclePlatform>
(this));
return;
}
if (!master) {