aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Snover2017-09-23 01:46:23 -0500
committerColin Snover2017-09-23 20:57:00 -0500
commita63f516df02b5879c51b923b2f1751a312ece26b (patch)
tree36dc2897a2fc9e0580022747b3e23cf9b0e6c65c
parentb038432952d84e605b121bf72ebde246a639b244 (diff)
downloadscummvm-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.cpp2
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);