projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bonusblock can now contain custom MovingObjects, added possibility to execute script...
[supertux.git]
/
src
/
object
/
specialriser.cpp
diff --git
a/src/object/specialriser.cpp
b/src/object/specialriser.cpp
index
ce14ad5
..
efcf59e
100644
(file)
--- a/
src/object/specialriser.cpp
+++ b/
src/object/specialriser.cpp
@@
-26,9
+26,10
@@
#include "sector.h"
#include "sprite/sprite_manager.h"
-SpecialRiser::SpecialRiser(MovingObject* _child)
+SpecialRiser::SpecialRiser(
Vector pos,
MovingObject* _child)
: child(_child)
{
+ _child->set_pos(pos - Vector(0, 32));
offset = 0;
}