diff options
Diffstat (limited to 'engines/sci/engine')
-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]; } |