aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/mohawk/myst_scripts.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/mohawk/myst_scripts.cpp b/engines/mohawk/myst_scripts.cpp
index fa5d3952eb..5cd4e817da 100644
--- a/engines/mohawk/myst_scripts.cpp
+++ b/engines/mohawk/myst_scripts.cpp
@@ -600,6 +600,15 @@ void MystScriptParser::o_copyBackBufferToScreen(uint16 var, const ArgumentsArray
debugC(kDebugScript, "\trect.bottom: %d", rect.bottom);
_vm->_gfx->copyBackBufferToScreen(rect);
+
+ // WORKAROUND: On Channelwood, wait for the sound to complete when
+ // closing the gate on the third level near the blue page.
+ // Fixes the gate not changing visual state despite the closing
+ // sound playing.
+ // There is one card id per side of the gate.
+ if (_vm->getCard()->getId() == 3481 || _vm->getCard()->getId() == 3522) {
+ soundWaitStop();
+ }
}
void MystScriptParser::o_copyImageToBackBuffer(uint16 var, const ArgumentsArray &args) {