Fixes #27.
To ease debugging I've tailored a test case that I'm providing in the https://github.com/mattias-p/tunics/tree/stuck-debug branch. For some reason Solarus 1.3 and 1.4 ends up generating different levels for the same seed, and the test case only works with 1.4. Moreover, the test case only focuses on puzzle obstacles. This PR applies the same behavior for both bow and lamp obstacles as well. However, I don't have special test cases for those.
Fixes #27. To ease debugging I've tailored a test case that I'm providing in the https://github.com/mattias-p/tunics/tree/stuck-debug branch. For some reason Solarus 1.3 and 1.4 ends up generating different levels for the same seed, and the test case only works with 1.4. Moreover, the test case only focuses on puzzle obstacles. This PR applies the same behavior for both bow and lamp obstacles as well. However, I don't have special test cases for those.