diff options
author | Bastien Bouclet | 2019-10-30 05:51:22 +0100 |
---|---|---|
committer | Bastien Bouclet | 2019-10-30 19:54:12 +0100 |
commit | 8a02d0efad8a93be2525c3e439eb0b52f64d647a (patch) | |
tree | 5d717cca2acc6c85904f2bc5c13ec1aebd61cd68 /engines/mohawk/myst_state.cpp | |
parent | 08191db22a79f09a367e732fd30bc024882cc17b (diff) | |
download | scummvm-rg350-8a02d0efad8a93be2525c3e439eb0b52f64d647a.tar.gz scummvm-rg350-8a02d0efad8a93be2525c3e439eb0b52f64d647a.tar.bz2 scummvm-rg350-8a02d0efad8a93be2525c3e439eb0b52f64d647a.zip |
MOHAWK: MYST: Save the options to ConfMan when the game is not started
Diffstat (limited to 'engines/mohawk/myst_state.cpp')
-rw-r--r-- | engines/mohawk/myst_state.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/mohawk/myst_state.cpp b/engines/mohawk/myst_state.cpp index 85e81da607..782d83eaf3 100644 --- a/engines/mohawk/myst_state.cpp +++ b/engines/mohawk/myst_state.cpp @@ -24,6 +24,7 @@ #include "mohawk/myst.h" #include "mohawk/myst_state.h" +#include "common/config-manager.h" #include "common/debug.h" #include "common/serializer.h" #include "common/system.h" @@ -94,6 +95,9 @@ void MystGameState::reset() { _globals.u1 = 1; _globals.ending = kDniNotVisited; + _globals.zipMode = ConfMan.getBool("zip_mode"); + _globals.transitions = ConfMan.getBool("transition_mode"); + // Library Bookcase Door - Default to Up _myst.libraryBookcaseDoor = 1; // Dock Imager Numeric Selection - Default to 67 |