diff options
author | Joseph-Eugene Winzer | 2017-08-31 21:20:46 +0200 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 02:15:30 +0000 |
commit | 02290c32b68ecf6bc39ee5f7149051463c5bd626 (patch) | |
tree | b27adcd6b84f3d8f1cb3ae007d5f5daae78da764 /engines | |
parent | 142e1743ced232e2f269615c93ce0bbc3974144e (diff) | |
download | scummvm-rg350-02290c32b68ecf6bc39ee5f7149051463c5bd626.tar.gz scummvm-rg350-02290c32b68ecf6bc39ee5f7149051463c5bd626.tar.bz2 scummvm-rg350-02290c32b68ecf6bc39ee5f7149051463c5bd626.zip |
SUPERNOVA: Allows saving by default
When saving is not apropriate, for example during cutscenes, explicitly
disable it.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/supernova/rooms.cpp | 1 | ||||
-rw-r--r-- | engines/supernova/supernova.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/supernova/rooms.cpp b/engines/supernova/rooms.cpp index 2c87b5869b..1bd5610e5d 100644 --- a/engines/supernova/rooms.cpp +++ b/engines/supernova/rooms.cpp @@ -108,6 +108,7 @@ bool Room::deserialize(Common::ReadStream *in) { void Intro::onEntrance() { _gm->_guiEnabled = false; + _vm->_allowSaveGame = false; titleScreen(); cutscene(); leaveCutscene(); diff --git a/engines/supernova/supernova.cpp b/engines/supernova/supernova.cpp index 6371f6c84a..5128a1c531 100644 --- a/engines/supernova/supernova.cpp +++ b/engines/supernova/supernova.cpp @@ -112,7 +112,7 @@ SupernovaEngine::SupernovaEngine(OSystem *syst) , _screenHeight(200) , _messageDisplayed(false) , _allowLoadGame(true) - , _allowSaveGame(false) + , _allowSaveGame(true) { // const Common::FSNode gameDataDir(ConfMan.get("path")); // SearchMan.addSubDirectoryMatching(gameDataDir, "sound"); |