[Scummvm-cvs-logs] SF.net SVN: scummvm:[47723] scummvm/trunk/engines/mohawk

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Sat Jan 30 20:03:11 CET 2010


Revision: 47723
          http://scummvm.svn.sourceforge.net/scummvm/?rev=47723&view=rev
Author:   fingolfin
Date:     2010-01-30 19:03:11 +0000 (Sat, 30 Jan 2010)

Log Message:
-----------
MOHAWK: Don't remove save_slot config entries the user may have added on purpose

Modified Paths:
--------------
    scummvm/trunk/engines/mohawk/myst.cpp
    scummvm/trunk/engines/mohawk/riven.cpp

Modified: scummvm/trunk/engines/mohawk/myst.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/myst.cpp	2010-01-30 18:15:17 UTC (rev 47722)
+++ scummvm/trunk/engines/mohawk/myst.cpp	2010-01-30 19:03:11 UTC (rev 47723)
@@ -216,9 +216,6 @@
 		if (gameToLoad > savedGamesList.size())
 			error ("Could not find saved game");
 		_saveLoad->loadGame(savedGamesList[gameToLoad]);
-		// HACK: The save_slot variable is saved to the disk! We don't want this!
-		ConfMan.removeKey("save_slot", ConfMan.getActiveDomainName());
-		ConfMan.flushToDisk();
 	}
 
 	// Load Help System (Masterpiece Edition Only)

Modified: scummvm/trunk/engines/mohawk/riven.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/riven.cpp	2010-01-30 18:15:17 UTC (rev 47722)
+++ scummvm/trunk/engines/mohawk/riven.cpp	2010-01-30 19:03:11 UTC (rev 47723)
@@ -97,9 +97,6 @@
 		if (gameToLoad > savedGamesList.size())
 			error ("Could not find saved game");
 		_saveLoad->loadGame(savedGamesList[gameToLoad]);
-		// HACK: The save_slot variable is saved to the disk! We don't want this!
-		ConfMan.removeKey("save_slot", ConfMan.getActiveDomainName());
-		ConfMan.flushToDisk();
 	} else { // Otherwise, start us off at aspit's card 1
         changeToStack(aspit);
 		changeToCard(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