aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2013-09-18 23:00:38 +0200
committerWillem Jan Palenstijn2013-09-18 23:00:38 +0200
commit6c85ad12aa9512da4c10c857d024e389ac317fa5 (patch)
tree396c99f50281179a1bb0422e6824fdf9c81db5ce
parente4568817bb4a6f7631d8253d32d7b2fb3f2d72a2 (diff)
downloadscummvm-rg350-6c85ad12aa9512da4c10c857d024e389ac317fa5.tar.gz
scummvm-rg350-6c85ad12aa9512da4c10c857d024e389ac317fa5.tar.bz2
scummvm-rg350-6c85ad12aa9512da4c10c857d024e389ac317fa5.zip
SCI: Explain qfg1vga script patch slightly
-rw-r--r--engines/sci/engine/script_patches.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp
index 1b1ece8b57..2fe349ad22 100644
--- a/engines/sci/engine/script_patches.cpp
+++ b/engines/sci/engine/script_patches.cpp
@@ -1123,6 +1123,12 @@ const uint16 qfg1vgaPatchCheetaurDescription[] = {
PATCH_END
};
+
+// Hitting the button on the right causes extremely broken behaviour if the
+// door on the top right is open at the time (bug #3585793).
+// Local 5 is the timer controlling automatically closing that door (door11).
+// We force it to 1 in happyFace::changeState which is triggered on hitting the
+// button.
const byte qfg1vgaSignatureFunnyRoomFix[] = {
14,
0x65, 0x14, // aTop 14 (state)