From 5317b8195d252942f084e3120809ab496411e963 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Tue, 25 May 2010 12:04:32 +0000 Subject: SCI: sci1.1 changed priority to 15, when adding to picture - fixes title in island of dr. brain intro svn-id: r49212 --- engines/sci/graphics/picture.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'engines') diff --git a/engines/sci/graphics/picture.cpp b/engines/sci/graphics/picture.cpp index 74f651a88a..e08547c4d9 100644 --- a/engines/sci/graphics/picture.cpp +++ b/engines/sci/graphics/picture.cpp @@ -69,6 +69,8 @@ void GfxPicture::draw(int16 animationNr, bool mirroredFlag, bool addToFlag, int1 headerSize = READ_LE_UINT16(_resource->data); switch (headerSize) { case 0x26: // SCI 1.1 VGA picture + if (_addToFlag) + _priority = 15; drawSci11Vga(); break; #ifdef ENABLE_SCI32 @@ -108,9 +110,8 @@ void GfxPicture::drawSci11Vga() { _palette->set(&palette, true); // display Cel-data - if (has_cel) { + if (has_cel) drawCelData(inbuffer, size, cel_headerPos, cel_RlePos, cel_LiteralPos, 0, 0, false); - } // process vector data drawVectorData(inbuffer + vector_dataPos, vector_size); -- cgit v1.2.3