From 1cc08d8b6a3ee995ff130bf96d6e9217b41b856d Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Sat, 13 Dec 2008 02:51:36 +0000 Subject: Fixing forgetfulness-bug which leads to failed assertions in certain cases svn-id: r35322 --- engines/gob/coktelvideo.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/gob') 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; } -- cgit v1.2.3