diff options
author | Scott Thomas | 2008-12-24 05:41:27 +0000 |
---|---|---|
committer | Scott Thomas | 2008-12-24 05:41:27 +0000 |
commit | 37bb8daf3dcaf9a53ae94ac8f913f5b4bd8ff0c4 (patch) | |
tree | 51d007a58a0f03365cc518ade80a690782b42d7e /engines | |
parent | bce76931d36d3b8cdda8b2b93521d9fbb1576c96 (diff) | |
download | scummvm-rg350-37bb8daf3dcaf9a53ae94ac8f913f5b4bd8ff0c4.tar.gz scummvm-rg350-37bb8daf3dcaf9a53ae94ac8f913f5b4bd8ff0c4.tar.bz2 scummvm-rg350-37bb8daf3dcaf9a53ae94ac8f913f5b4bd8ff0c4.zip |
T7G: Implement runtime script fix for cake puzzle bug.
svn-id: r35520
Diffstat (limited to 'engines')
-rw-r--r-- | engines/groovie/script.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/groovie/script.cpp b/engines/groovie/script.cpp index ff70ce2026..344ac44dba 100644 --- a/engines/groovie/script.cpp +++ b/engines/groovie/script.cpp @@ -123,6 +123,14 @@ bool Script::loadScript(Common::String filename) { 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; |