diff options
-rw-r--r-- | engines/mohawk/riven_external.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/engines/mohawk/riven_external.cpp b/engines/mohawk/riven_external.cpp index cffcc7156f..ec6c204389 100644 --- a/engines/mohawk/riven_external.cpp +++ b/engines/mohawk/riven_external.cpp @@ -1707,16 +1707,7 @@ void RivenExternal::xbookclick(uint16 argc, uint16 *argv) { } // There was no click, so just play the rest of the video. - while (!_vm->_video->endOfVideo(video) && !_vm->shouldQuit()) { - if (_vm->_video->updateBackgroundMovies()) - _vm->_system->updateScreen(); - - Common::Event event; - while (_vm->_system->getEventManager()->pollEvent(event)) - ; - - _vm->_system->delayMillis(10); - } + _vm->_video->waitUntilMovieEnds(video); } void RivenExternal::xooffice30_closebook(uint16 argc, uint16 *argv) { |