Mario: fix bounce return position
This commit is contained in:
parent
55f88a547c
commit
49bceafe0b
@ -64,7 +64,7 @@ void MarioBlock::custom_move(int ticks) {
|
||||
} else {
|
||||
if(getPos().getY() >= og_pos.getY()) {
|
||||
setMovement(0, 0);
|
||||
setPos(og_pos);
|
||||
setPos(getPos().getX(), og_pos.getY());
|
||||
_bouncing = false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user