[Scummvm-cvs-logs] SF.net SVN: scummvm:[35520] scummvm/trunk/engines/groovie/script.cpp

scott_t at users.sourceforge.net scott_t at users.sourceforge.net
Wed Dec 24 06:41:27 CET 2008


Revision: 35520
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35520&view=rev
Author:   scott_t
Date:     2008-12-24 05:41:27 +0000 (Wed, 24 Dec 2008)

Log Message:
-----------
T7G: Implement runtime script fix for cake puzzle bug.

Modified Paths:
--------------
    scummvm/trunk/engines/groovie/script.cpp

Modified: scummvm/trunk/engines/groovie/script.cpp
===================================================================
--- scummvm/trunk/engines/groovie/script.cpp	2008-12-24 01:11:58 UTC (rev 35519)
+++ scummvm/trunk/engines/groovie/script.cpp	2008-12-24 05:41:27 UTC (rev 35520)
@@ -123,6 +123,14 @@
 	scriptfile.read(_code, 0x10000);
 	scriptfile.close();
 
+	// Patch the loaded code for known script bugs
+	if (filename.equals("dr.grv")) {
+		// WORKAROUND for the cake puzzle glitch (bug #2458322): Lowering the
+		// piece on the first column and second row updates the wrong script
+		// variable
+		_code[0x03C2] = 0x38;
+	}
+
 	// Initialize the script
 	_currentInstruction = 0;
 


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