projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Calculate foremost layer correctly (previous implementation didn't work at all)
[supertux.git]
/
src
/
object
/
specialriser.cpp
diff --git
a/src/object/specialriser.cpp
b/src/object/specialriser.cpp
index
013109a
..
d9e8f09
100644
(file)
--- a/
src/object/specialriser.cpp
+++ b/
src/object/specialriser.cpp
@@
-18,7
+18,7
@@
#include "object/specialriser.hpp"
#include "supertux/sector.hpp"
-SpecialRiser::SpecialRiser(Vector pos,
MovingObject*
_child) :
+SpecialRiser::SpecialRiser(Vector pos,
std::shared_ptr<MovingObject>
_child) :
offset(),
child(_child)
{