Legofarmen / tunics

A roguelike-like Zelda game for the Solarus engine.
http://tunics.legofarmen.se
Other
36 stars 11 forks source link

Fix loading closed door in open state #112

Open mattias-p opened 4 years ago

mattias-p commented 4 years ago

When you enter a "closed" door from the open end, it will push you into the room and close the door behind you. When the door is opened the pushing is disabled. If you save and load the game, the door stays open but the pushing mechanism is re-enabled.

This change makes sure the pushing mechanism is disabled for open "closed" door at load time.