From caeafb29ffa0d45998dfafa7e8d431636f1dab60 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Fri, 29 Jan 2010 13:48:02 +0000 Subject: SCI: little hack so that old views are erased in sci32 svn-id: r47667 --- engines/sci/graphics/gui.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/engines/sci/graphics/gui.cpp b/engines/sci/graphics/gui.cpp index f0185c01ae..5d3362598f 100644 --- a/engines/sci/graphics/gui.cpp +++ b/engines/sci/graphics/gui.cpp @@ -951,6 +951,11 @@ void SciGui::frameOut() { if (priority == -1) continue; + int16 picNum = GET_SEL32V(_s->_segMan, planeObj, picture); + if (picNum > -1) { + drawPicture(picNum, 100, false, false, false, 0); + } + // FIXME: This code doesn't currently work properly because of the way we set up the // view port. We are starting at 10 pixels from the top automatically. The offset should // be based on the plane's top in SCI32 instead. Here we would be adding 10 to 10 and @@ -991,6 +996,7 @@ void SciGui::frameOut() { } } } + animateShowPic(); } void SciGui::drawRobot(GuiResourceId robotId) { -- cgit v1.2.3