diff options
author | Filippos Karapetis | 2016-05-17 11:21:33 +0300 |
---|---|---|
committer | Filippos Karapetis | 2016-05-17 11:22:27 +0300 |
commit | b2ec7acbf7b69f914b239f3894045773ef46d6cf (patch) | |
tree | 73bb4e0fa078415fbb64b23f22774c07ed619ad0 /engines/lab/processroom.cpp | |
parent | 22e5fe8b4e06b93db1edaf8399394428b349d5e5 (diff) | |
download | scummvm-rg350-b2ec7acbf7b69f914b239f3894045773ef46d6cf.tar.gz scummvm-rg350-b2ec7acbf7b69f914b239f3894045773ef46d6cf.tar.bz2 scummvm-rg350-b2ec7acbf7b69f914b239f3894045773ef46d6cf.zip |
LAB: Fix waiting for sounds embedded in animations
A regression of 75d1385c8d1ba61b5740a0b43966d3c2f111440d
Diffstat (limited to 'engines/lab/processroom.cpp')
-rw-r--r-- | engines/lab/processroom.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/engines/lab/processroom.cpp b/engines/lab/processroom.cpp index 5093e8ef85..68e6e63c1d 100644 --- a/engines/lab/processroom.cpp +++ b/engines/lab/processroom.cpp @@ -254,16 +254,9 @@ void LabEngine::doActions(const ActionList &actionList) { _music->loadSoundEffect(action->_messages[0], true, false); break; - case kActionShowDiff: { - bool curWait = _anim->_waitForEffect; - // Pause the engine until the sound is finished - _anim->_waitForEffect = true; + case kActionShowDiff: _graphics->readPict(action->_messages[0], true); - - // Restore the previous value of _waitForEffect - _anim->_waitForEffect = curWait; break; - } case kActionShowDiffLooping: // used in scene 44 (heart of the labyrinth, minotaur) _graphics->readPict(action->_messages[0], false); |