aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/zvision.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision/zvision.cpp')
-rw-r--r--engines/zvision/zvision.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/engines/zvision/zvision.cpp b/engines/zvision/zvision.cpp
index ac810d8d07..de1730f354 100644
--- a/engines/zvision/zvision.cpp
+++ b/engines/zvision/zvision.cpp
@@ -122,9 +122,13 @@ Common::Error ZVision::run() {
currentTime = _system->getMillis();
uint32 deltaTime = currentTime - lastTime;
lastTime = currentTime;
-
- updateScripts();
- updateAnimations(deltaTime);
+
+ if (_currentVideo != 0)
+ continueVideo();
+ else {
+ updateScripts();
+ updateAnimations(deltaTime);
+ }
if (_needsScreenUpdate || _console->isActive()) {
_system->updateScreen();