diff options
author | Bastien Bouclet | 2018-07-21 21:31:40 +0200 |
---|---|---|
committer | GitHub | 2018-07-21 21:31:40 +0200 |
commit | 8f9daa906c3a43d00ce004494a87cfe698aa9150 (patch) | |
tree | b416242e8217093a3f993b1d2feea5e2efb12c40 /engines | |
parent | cd87d769327dfb760460be471d7ffda63e339685 (diff) | |
parent | 3299402a2319ab02299b3ae32dab91a6618a5e50 (diff) | |
download | scummvm-rg350-8f9daa906c3a43d00ce004494a87cfe698aa9150.tar.gz scummvm-rg350-8f9daa906c3a43d00ce004494a87cfe698aa9150.tar.bz2 scummvm-rg350-8f9daa906c3a43d00ce004494a87cfe698aa9150.zip |
Merge pull request #1257 from dafioram/mohawkRivenAutosaveCredits
MOHAWK: RIVEN: Don't allow autosaving during credits
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mohawk/riven.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/riven.cpp b/engines/mohawk/riven.cpp index 1f19b080de..2f17d5ee16 100644 --- a/engines/mohawk/riven.cpp +++ b/engines/mohawk/riven.cpp @@ -737,7 +737,7 @@ void MohawkEngine_Riven::saveGameStateAndDisplayError(int slot, const Common::St } void MohawkEngine_Riven::tryAutoSaving() { - if (!canSaveGameStateCurrently() || !isGameStarted()) { + if (!canSaveGameStateCurrently() || !isGameStarted() || _gameEnded) { return; // Can't save right now, try again on the next frame } |