From c826716a9134d1dff9a1ed4deefb4957b3530fc5 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 5 Apr 2008 03:13:26 +0000 Subject: Don't rename quicksave filenames when deleting files. svn-id: r31401 --- engines/kyra/gui_v2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3