diff options
author | Martin Kiewitz | 2010-05-25 12:04:32 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-05-25 12:04:32 +0000 |
commit | 5317b8195d252942f084e3120809ab496411e963 (patch) | |
tree | e6df6625e85c3ad4cf985829270bef9d26733740 /engines | |
parent | 961a64a9f834a833e9ec7c060e8f81dddd91a3a3 (diff) | |
download | scummvm-rg350-5317b8195d252942f084e3120809ab496411e963.tar.gz scummvm-rg350-5317b8195d252942f084e3120809ab496411e963.tar.bz2 scummvm-rg350-5317b8195d252942f084e3120809ab496411e963.zip |
SCI: sci1.1 changed priority to 15, when adding to picture - fixes title in island of dr. brain intro
svn-id: r49212
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/graphics/picture.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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); |