aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie/script.h
diff options
context:
space:
mode:
authorScott Thomas2018-11-03 22:56:02 +1030
committerDavid Turner2018-11-03 15:15:32 +0000
commit75c6f2fd609b16d6f122bee8cd7a04e7a300f325 (patch)
tree955ac9df6577404feec28d7e0787cb61aac6329b /engines/groovie/script.h
parent0c340485e01e0c18634a496d145841afb2ac2536 (diff)
downloadscummvm-rg350-75c6f2fd609b16d6f122bee8cd7a04e7a300f325.tar.gz
scummvm-rg350-75c6f2fd609b16d6f122bee8cd7a04e7a300f325.tar.bz2
scummvm-rg350-75c6f2fd609b16d6f122bee8cd7a04e7a300f325.zip
GROOVIE: Fix GMM loads, block saves in a puzzle
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.
Diffstat (limited to 'engines/groovie/script.h')
-rw-r--r--engines/groovie/script.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/groovie/script.h b/engines/groovie/script.h
index a70a59d66f..7ecb166583 100644
--- a/engines/groovie/script.h
+++ b/engines/groovie/script.h
@@ -61,6 +61,7 @@ public:
bool loadScript(Common::String scriptfile);
void directGameLoad(int slot);
void directGameSave(int slot, const Common::String &desc);
+ bool canDirectSave() const;
void step();
void setMouseClick(uint8 button);