diff options
author | Colin Snover | 2016-10-02 19:23:19 -0500 |
---|---|---|
committer | Colin Snover | 2016-10-05 15:19:11 -0500 |
commit | ac95f2595b92d9263161992d0d63029425901dd9 (patch) | |
tree | 96d17cd5c7378db26aecabaff882c6e4630e4383 | |
parent | 5cca33702d2544e3e470142843144faf4fef83d2 (diff) | |
download | scummvm-rg350-ac95f2595b92d9263161992d0d63029425901dd9.tar.gz scummvm-rg350-ac95f2595b92d9263161992d0d63029425901dd9.tar.bz2 scummvm-rg350-ac95f2595b92d9263161992d0d63029425901dd9.zip |
SCI32: Fix deleting save games in native save/load dialogue
-rw-r--r-- | engines/sci/engine/kfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp index f73439015a..386c4bcdfa 100644 --- a/engines/sci/engine/kfile.cpp +++ b/engines/sci/engine/kfile.cpp @@ -1350,7 +1350,7 @@ reg_t kMakeSaveFileName(EngineState *s, int argc, reg_t *argv) { SciArray &outFileName = *s->_segMan->lookupArray(argv[0]); // argv[1] is the game name, which is not used by ScummVM const int16 saveNo = argv[2].toSint16(); - outFileName.fromString(g_sci->getSavegameName(saveNo)); + outFileName.fromString(g_sci->getSavegameName(saveNo + kSaveIdShift)); return argv[0]; } |