aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/kyra/gui_v2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/kyra/gui_v2.cpp b/engines/kyra/gui_v2.cpp
index abfba42283..6ef46410e9 100644
--- a/engines/kyra/gui_v2.cpp
+++ b/engines/kyra/gui_v2.cpp
@@ -1936,7 +1936,8 @@ int GUI_v2::deleteMenu(Button *caller) {
if (i == _saveSlots.end())
break;
// We are only renaming all savefiles until we get some slots missing
- if (*(i-1) != *i)
+ // Also not rename quicksave slot filenames
+ if (*(i-1) != *i || *i >= 990)
break;
Common::String oldName = _vm->getSavegameFilename(*i);
Common::String newName = _vm->getSavegameFilename(*i-1);