Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GROOVIE: Fix GMM loads, block saves in a puzzle #1376

Merged
merged 1 commit into from Nov 3, 2018

Conversation

scott-t
Copy link
Member

@scott-t scott-t commented Nov 3, 2018

As per discussion in #1306. This patch blocks GMM saves within a puzzle (we can't guarantee valid save state) and handles properly loading by properly jumping back into the base game script.

Loading and returning from subscripts alters the _variables
used, thus are not guaranteed to create a valid save state.
Loading a save should be valid at any time, as long as the
active script being run is restored to the base game script.
@digitall
Copy link
Member

digitall commented Nov 3, 2018

@scott-t : This looks good to me and since you are a GROOVIE expert, merging :)

@digitall digitall merged commit 75c6f2f into scummvm:master Nov 3, 2018
@scott-t scott-t deleted the t7g-gmm-saveload branch November 4, 2018 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants