aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/access/scripts.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/access/scripts.cpp b/engines/access/scripts.cpp
index ad806de056..c5b7d952da 100644
--- a/engines/access/scripts.cpp
+++ b/engines/access/scripts.cpp
@@ -458,10 +458,14 @@ void Scripts::cmdSetScroll() {
}
void Scripts::cmdVideoEnded() {
- if (_vm->_video->_videoEnd)
+ _vm->_events->pollEvents();
+
+ if (_vm->_video->_videoEnd) {
cmdGoto();
- else
+ } else {
+ g_system->delayMillis(10);
_data->skip(2);
+ }
}
void Scripts::CMDSETBUFVID() { error("TODO CMDSETBUFVID"); }