[Scummvm-git-logs] scummvm master -> 8cfe68eacf41b9f134f79239590893f52f0fe92c
bluegr
bluegr at gmail.com
Mon Dec 28 20:55:53 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
8cfe68eacf SCUMM: COMI: fix missing soundKludge call
Commit: 8cfe68eacf41b9f134f79239590893f52f0fe92c
https://github.com/scummvm/scummvm/commit/8cfe68eacf41b9f134f79239590893f52f0fe92c
Author: Andrea Boscarino (andrea.boscarino at studio.unibo.it)
Date: 2020-12-28T22:55:49+02:00
Commit Message:
SCUMM: COMI: fix missing soundKludge call
Changed paths:
engines/scumm/script_v6.cpp
diff --git a/engines/scumm/script_v6.cpp b/engines/scumm/script_v6.cpp
index 5cbbd93265..d3d80ed187 100644
--- a/engines/scumm/script_v6.cpp
+++ b/engines/scumm/script_v6.cpp
@@ -736,6 +736,25 @@ void ScummEngine_v6::o6_startScript() {
script = pop();
flags = pop();
+ // WORKAROUND for a bug also present in the original EXE: After greasing (or oiling?)
+ // the cannonballs in the Plunder Town Theater, during the juggling show, the game
+ // cuts from room 18 (backstage) to room 19 (stage).
+ //
+ // Usually, when loading a room script 29 handles the change of background music,
+ // based on which room we've just loaded.
+ // Unfortunately, during this particular cutscene, script 29 is not executing,
+ // therefore the music is unchanged from room 18 to 19 (the muffled backstage
+ // version is played), and is not coherent with the drums fill played afterwards
+ // (sequence 2225), which is unmuffled.
+ //
+ // This fix checks for this situation happening (and only this one), and makes a call
+ // to a soundKludge operation like script 29 would have done.
+ if (_game.id == GID_CMI && _currentRoom == 19 &&
+ vm.slot[_currentScript].number == 168 && script == 118) {
+ int list[16] = { 4096, 1278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
+ _sound->soundKludge(list, 2);
+ }
+
// WORKAROUND bug #556558: At Dino Bungee National Memorial, the buttons for
// the Wally and Rex dinosaurs will always restart their speech, instead of
// stopping and starting their speech. This was a script bug in the original
More information about the Scummvm-git-logs
mailing list