aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/gob/coktelvideo.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/gob/coktelvideo.cpp b/engines/gob/coktelvideo.cpp
index 074422f35e..377cb8a3a5 100644
--- a/engines/gob/coktelvideo.cpp
+++ b/engines/gob/coktelvideo.cpp
@@ -1280,6 +1280,10 @@ CoktelVideo::State Vmd::processFrame(uint16 frame) {
_soundStage = 0;
}
+ // If these are still 0x7FFF, no video data has been processed
+ if ((state.left == 0x7FFF) || (state.top == 0x7FFF))
+ state.left = state.top = state.right = state.bottom = 0;
+
_lastFrameTime = g_system->getMillis();
return state;
}