Mario: fix bounce return position

This commit is contained in:
zvon 2021-05-26 09:29:12 +02:00
parent 55f88a547c
commit 49bceafe0b

View File

@ -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;
}
}