diff options
author | Colin Snover | 2017-09-23 01:46:23 -0500 |
---|---|---|
committer | Colin Snover | 2017-09-23 20:57:00 -0500 |
commit | a63f516df02b5879c51b923b2f1751a312ece26b (patch) | |
tree | 36dc2897a2fc9e0580022747b3e23cf9b0e6c65c | |
parent | b038432952d84e605b121bf72ebde246a639b244 (diff) | |
download | scummvm-rg350-a63f516df02b5879c51b923b2f1751a312ece26b.tar.gz scummvm-rg350-a63f516df02b5879c51b923b2f1751a312ece26b.tar.bz2 scummvm-rg350-a63f516df02b5879c51b923b2f1751a312ece26b.zip |
SCI32: Replace magic number with kAutoSaveId in QFG4 save code
-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 d8ef919324..db7bbce640 100644 --- a/engines/sci/engine/kfile.cpp +++ b/engines/sci/engine/kfile.cpp @@ -1337,7 +1337,7 @@ reg_t kSaveGame32(EngineState *s, int argc, reg_t *argv) { s->_msgState->getMessage(0, autoSaveNameTuple, autoSaveNameId); if (saveDescription == autoSaveName.toString()) { - saveNo = 0; + saveNo = kAutoSaveId; } s->_segMan->freeArray(autoSaveNameId); |