diff options
author | Colin Snover | 2017-02-19 14:05:41 -0600 |
---|---|---|
committer | Colin Snover | 2017-04-23 13:07:25 -0500 |
commit | 94524633d78b23c5e1cf5733428ec6e212db9a21 (patch) | |
tree | ebad6abf4b1afdc03b44f956e60e36c6670f6582 /engines | |
parent | 205f8c4a59cea068d46e76a39bd32b682682d3e9 (diff) | |
download | scummvm-rg350-94524633d78b23c5e1cf5733428ec6e212db9a21.tar.gz scummvm-rg350-94524633d78b23c5e1cf5733428ec6e212db9a21.tar.bz2 scummvm-rg350-94524633d78b23c5e1cf5733428ec6e212db9a21.zip |
SCI32: Put Lighthouse restart game in restart save slot
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/engine/kfile.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp index 8429af167b..6f77b0a390 100644 --- a/engines/sci/engine/kfile.cpp +++ b/engines/sci/engine/kfile.cpp @@ -1201,6 +1201,10 @@ reg_t kSaveGame32(EngineState *s, int argc, reg_t *argv) { saveNo += kSaveIdShift; } + if (g_sci->getGameId() == GID_LIGHTHOUSE && gameName == "rst") { + saveNo = kNewGameId; + } + // Auto-save system used by QFG4 if (g_sci->getGameId() == GID_QFG4) { reg_t autoSaveNameId; |