[Scummvm-cvs-logs] SF.net SVN: scummvm: [31401] scummvm/trunk/engines/kyra/gui_v2.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sat Apr 5 05:13:26 CEST 2008


Revision: 31401
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31401&view=rev
Author:   lordhoto
Date:     2008-04-04 20:13:26 -0700 (Fri, 04 Apr 2008)

Log Message:
-----------
Don't rename quicksave filenames when deleting files.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/gui_v2.cpp

Modified: scummvm/trunk/engines/kyra/gui_v2.cpp
===================================================================
--- scummvm/trunk/engines/kyra/gui_v2.cpp	2008-04-05 03:03:10 UTC (rev 31400)
+++ scummvm/trunk/engines/kyra/gui_v2.cpp	2008-04-05 03:13:26 UTC (rev 31401)
@@ -1936,7 +1936,8 @@
 		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);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list