From d7b6f0ecc849ec4dbd6916f2ce466caae7343dc0 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 12 Aug 2007 18:15:54 +0000 Subject: Clear _curFile in closeVideo(). This fixes a regression in Lost in Time, where the screen would go blank after closing the notebook. svn-id: r28567 --- engines/gob/videoplayer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/gob') diff --git a/engines/gob/videoplayer.cpp b/engines/gob/videoplayer.cpp index 6cc14fd3db..dd070035a9 100644 --- a/engines/gob/videoplayer.cpp +++ b/engines/gob/videoplayer.cpp @@ -329,6 +329,7 @@ void VideoPlayer::closeVideo() { _video = 0; _stream = 0; + *_curFile = 0; } } // End of namespace Gob -- cgit v1.2.3