[Scummvm-cvs-logs] SF.net SVN: scummvm:[49738] scummvm/trunk/engines/agi/detection.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Tue Jun 15 12:29:43 CEST 2010


Revision: 49738
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49738&view=rev
Author:   sev
Date:     2010-06-15 10:29:43 +0000 (Tue, 15 Jun 2010)

Log Message:
-----------
AGI: Fix bug #2862508.

Bug #2862508: "AGI: Black cauldron save through GMM". BC does not
have input line, and that was used for determining that user
can save. Added special case for BC, so it is always allowed to
save. In fact, original does not allow saving in some rare
occasions, but that will require analysing of variables, which
is a gross hack.

Modified Paths:
--------------
    scummvm/trunk/engines/agi/detection.cpp

Modified: scummvm/trunk/engines/agi/detection.cpp
===================================================================
--- scummvm/trunk/engines/agi/detection.cpp	2010-06-15 10:29:20 UTC (rev 49737)
+++ scummvm/trunk/engines/agi/detection.cpp	2010-06-15 10:29:43 UTC (rev 49738)
@@ -488,6 +488,9 @@
 }
 
 bool AgiBase::canSaveGameStateCurrently() {
+	if (getGameID() == GID_BC) // Technically in Black Cauldron we may save anytime
+		return true;
+	
 	return (!(getGameType() == GType_PreAGI) && getflag(fMenusWork) && !_noSaveLoadAllowed && _game.inputEnabled);
 }
 


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