diff options
author | Max Horn | 2010-01-30 19:03:11 +0000 |
---|---|---|
committer | Max Horn | 2010-01-30 19:03:11 +0000 |
commit | a652b603c97fb31d6943645603a6d585bda166ad (patch) | |
tree | 212102ee1064ae840e93fa8ac2d4b1ea1b23d9ad | |
parent | f79b474ea756774d4b4de443fbee47b182869935 (diff) | |
download | scummvm-rg350-a652b603c97fb31d6943645603a6d585bda166ad.tar.gz scummvm-rg350-a652b603c97fb31d6943645603a6d585bda166ad.tar.bz2 scummvm-rg350-a652b603c97fb31d6943645603a6d585bda166ad.zip |
MOHAWK: Don't remove save_slot config entries the user may have added on purpose
svn-id: r47723
-rw-r--r-- | engines/mohawk/myst.cpp | 3 | ||||
-rw-r--r-- | engines/mohawk/riven.cpp | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp index 647e6d4c42..ba656171aa 100644 --- a/engines/mohawk/myst.cpp +++ b/engines/mohawk/myst.cpp @@ -216,9 +216,6 @@ Common::Error MohawkEngine_Myst::run() { if (gameToLoad > savedGamesList.size()) error ("Could not find saved game"); _saveLoad->loadGame(savedGamesList[gameToLoad]); - // HACK: The save_slot variable is saved to the disk! We don't want this! - ConfMan.removeKey("save_slot", ConfMan.getActiveDomainName()); - ConfMan.flushToDisk(); } // Load Help System (Masterpiece Edition Only) diff --git a/engines/mohawk/riven.cpp b/engines/mohawk/riven.cpp index 292d2d740a..1a1b4fabba 100644 --- a/engines/mohawk/riven.cpp +++ b/engines/mohawk/riven.cpp @@ -97,9 +97,6 @@ Common::Error MohawkEngine_Riven::run() { if (gameToLoad > savedGamesList.size()) error ("Could not find saved game"); _saveLoad->loadGame(savedGamesList[gameToLoad]); - // HACK: The save_slot variable is saved to the disk! We don't want this! - ConfMan.removeKey("save_slot", ConfMan.getActiveDomainName()); - ConfMan.flushToDisk(); } else { // Otherwise, start us off at aspit's card 1 changeToStack(aspit); changeToCard(1); |