diff options
author | Strangerke | 2015-12-22 19:40:34 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:35:34 +0100 |
commit | be4c436dcaa960bceedd6d526041df06919bc225 (patch) | |
tree | f93c0d5b259b2859f93284c4a9916ad7d1c580af /engines/lab/anim.cpp | |
parent | 7380ddf40035fa3a3c6d5e7974e8f9928d6e148a (diff) | |
download | scummvm-rg350-be4c436dcaa960bceedd6d526041df06919bc225.tar.gz scummvm-rg350-be4c436dcaa960bceedd6d526041df06919bc225.tar.bz2 scummvm-rg350-be4c436dcaa960bceedd6d526041df06919bc225.zip |
LAB: Move event update functions out of updateMusic
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 49dbe285a6..d59a5711a8 100644 --- a/engines/lab/anim.cpp +++ b/engines/lab/anim.cpp @@ -130,7 +130,7 @@ void Anim::diffNextFrame(bool onlyDiffData) { return; } - _vm->_music->updateMusic(); + _vm->updateMusicAndEvents(); _header = _diffFile->readUint32LE(); _size = _diffFile->readUint32LE(); @@ -191,7 +191,7 @@ void Anim::diffNextFrame(bool onlyDiffData) { case 31: if (_waitForEffect) { while (_vm->_music->isSoundEffectActive()) { - _vm->_music->updateMusic(); + _vm->updateMusicAndEvents(); _vm->waitTOF(); } } @@ -211,7 +211,7 @@ void Anim::diffNextFrame(bool onlyDiffData) { if (_waitForEffect) { while (_vm->_music->isSoundEffectActive()) { - _vm->_music->updateMusic(); + _vm->updateMusicAndEvents(); _vm->waitTOF(); if (_vm->_graphics->_dispBitMap->_drawOnScreen) @@ -251,7 +251,7 @@ void Anim::stopDiffEnd() { _stopPlayingEnd = true; while (_isPlaying) { - _vm->_music->updateMusic(); + _vm->updateMusicAndEvents(); diffNextFrame(); } } |