[Scummvm-cvs-logs] SF.net SVN: scummvm:[38935] scummvm/trunk/engines/agos/subroutine.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Fri Feb 27 23:10:25 CET 2009


Revision: 38935
          http://scummvm.svn.sourceforge.net/scummvm/?rev=38935&view=rev
Author:   Kirben
Date:     2009-02-27 22:10:25 +0000 (Fri, 27 Feb 2009)

Log Message:
-----------
Fix bug #2642654 - SIMON2: Cannot load savegame, also in CD DOS?.

Modified Paths:
--------------
    scummvm/trunk/engines/agos/subroutine.cpp

Modified: scummvm/trunk/engines/agos/subroutine.cpp
===================================================================
--- scummvm/trunk/engines/agos/subroutine.cpp	2009-02-27 19:50:22 UTC (rev 38934)
+++ scummvm/trunk/engines/agos/subroutine.cpp	2009-02-27 22:10:25 UTC (rev 38935)
@@ -540,9 +540,9 @@
 
 	// WORKAROUND: If the game is saved, right after Simon is thrown in the dungeon of Sordid's Fortress of Doom,
 	// the saved game fails to load correctly. When loading the saved game, the sequence of Simon waking is started,
-	// before the scene is actually reloaded, due to a script bug. We manually add the extra script code from DOS CD
-	// release, which fixed this particular script bug.
-	if (getGameType() == GType_SIMON2 && !(getFeatures() & GF_TALKIE) && sub->id == 12101) {
+	// before the scene is actually reloaded, due to a script bug. We manually add the extra script code from the 
+	// updated DOS CD release, which fixed this particular script bug.
+	if (getGameType() == GType_SIMON2 && sub->id == 12101) {
 		const byte bit = 228;
 		if ((_bitArrayTwo[bit / 16] & (1 << (bit & 15))) != 0 && (int)readVariable(34) == -1) {
 			_bitArrayTwo[228 / 16] &= ~(1 << (bit & 15));


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