[Scummvm-cvs-logs] SF.net SVN: scummvm:[49212] scummvm/trunk/engines/sci/graphics/picture.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Tue May 25 14:04:32 CEST 2010


Revision: 49212
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49212&view=rev
Author:   m_kiewitz
Date:     2010-05-25 12:04:32 +0000 (Tue, 25 May 2010)

Log Message:
-----------
SCI: sci1.1 changed priority to 15, when adding to picture - fixes title in island of dr. brain intro

Modified Paths:
--------------
    scummvm/trunk/engines/sci/graphics/picture.cpp

Modified: scummvm/trunk/engines/sci/graphics/picture.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/picture.cpp	2010-05-25 11:54:18 UTC (rev 49211)
+++ scummvm/trunk/engines/sci/graphics/picture.cpp	2010-05-25 12:04:32 UTC (rev 49212)
@@ -69,6 +69,8 @@
 	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 @@
 	_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);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list