diff options
author | Filippos Karapetis | 2015-12-27 21:12:41 +0200 |
---|---|---|
committer | Filippos Karapetis | 2015-12-27 21:16:43 +0200 |
commit | c5f5fbc208d473d87d42edd64113728bf26153b1 (patch) | |
tree | 3c8adca326cb484297b5a0901b5b23e3b5df0b5e /engines/lab/anim.cpp | |
parent | 29342b1331533b2e85057e4cf0a2d2acffd3d56d (diff) | |
download | scummvm-rg350-c5f5fbc208d473d87d42edd64113728bf26153b1.tar.gz scummvm-rg350-c5f5fbc208d473d87d42edd64113728bf26153b1.tar.bz2 scummvm-rg350-c5f5fbc208d473d87d42edd64113728bf26153b1.zip |
LAB: Refactor the music code
Diffstat (limited to 'engines/lab/anim.cpp')
-rw-r--r-- | engines/lab/anim.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/lab/anim.cpp b/engines/lab/anim.cpp index 0c01b072c4..ef6694490a 100644 --- a/engines/lab/anim.cpp +++ b/engines/lab/anim.cpp @@ -143,7 +143,7 @@ void Anim::diffNextFrame(bool onlyDiffData) { return; } - _vm->updateMusicAndEvents(); + _vm->updateEvents(); _lastBlockHeader = _diffFile->readUint32LE(); _size = _diffFile->readUint32LE(); @@ -207,7 +207,7 @@ void Anim::diffNextFrame(bool onlyDiffData) { case 31: if (_waitForEffect) { while (_vm->_music->isSoundEffectActive()) { - _vm->updateMusicAndEvents(); + _vm->updateEvents(); _vm->waitTOF(); } } @@ -229,7 +229,7 @@ void Anim::diffNextFrame(bool onlyDiffData) { if (_waitForEffect) { while (_vm->_music->isSoundEffectActive()) { - _vm->updateMusicAndEvents(); + _vm->updateEvents(); _vm->waitTOF(); if (drawOnScreen) @@ -269,7 +269,7 @@ void Anim::stopDiffEnd() { _stopPlayingEnd = true; while (_isPlaying) { - _vm->updateMusicAndEvents(); + _vm->updateEvents(); diffNextFrame(); } } |