solarus-games/zsdx

Dungeon 7: the block no longer falls in the hole

christopho opened this issue · 1 comments

A block has to be pushed in a hole in the third floor of dungeon 7. It correctly disappears when on the hole, but when you jump in the hole too, it is not on the second floor as expected.

Before Solarus 1.2, when pushing the block, the pushing state continued until the end of the planned path even if the block fell in a hole in the meantime. So block:on_moved() was called with the final coordinates instead of the coordinates the block has when it falls.