open-supaplex icon indicating copy to clipboard operation
open-supaplex copied to clipboard

Fix bug with panel visibility and save states

Open ftortoriello opened this issue 1 year ago • 0 comments

When a state is saved when the panel was hidden, and that state is loaded with the panel visible, the panel remains visible, but the playfield is behind the panel. If you press Enter the panel remains visible and the playfield is adjusted. Likewise, if the panel is hidden and a state is loaded with the panel visible, you need to press Enter to show it.

Fix that issue by setting the gCurrentPanelHeight variable when loading a save state.

ftortoriello avatar Aug 26 '24 17:08 ftortoriello