[Scummvm-cvs-logs] SF.net SVN: scummvm:[55242] scummvm/trunk/engines/mohawk/riven_external.cpp
mthreepwood at users.sourceforge.net
mthreepwood at users.sourceforge.net
Fri Jan 14 17:39:35 CET 2011
Revision: 55242
http://scummvm.svn.sourceforge.net/scummvm/?rev=55242&view=rev
Author: mthreepwood
Date: 2011-01-14 16:39:34 +0000 (Fri, 14 Jan 2011)
Log Message:
-----------
MOHAWK: Simplify some code
Modified Paths:
--------------
scummvm/trunk/engines/mohawk/riven_external.cpp
Modified: scummvm/trunk/engines/mohawk/riven_external.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/riven_external.cpp 2011-01-14 16:07:46 UTC (rev 55241)
+++ scummvm/trunk/engines/mohawk/riven_external.cpp 2011-01-14 16:39:34 UTC (rev 55242)
@@ -1707,16 +1707,7 @@
}
// 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) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list