Permalink
Browse files

MOHAWK: Show the closed gate on the 3rd channelwood level

The original game scripts are missing a delay.
Fixes #10727.
  • Loading branch information...
bgK committed Oct 7, 2018
1 parent 48ece56 commit 2f851edfc2f620ab7aae01bda0b4228b1ed5d139
Showing with 9 additions and 0 deletions.
  1. +9 −0 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) {

0 comments on commit 2f851ed

Please sign in to comment.