[Scummvm-cvs-logs] SF.net SVN: scummvm:[55194] scummvm/trunk/engines/cine/object.cpp

tdhs at users.sourceforge.net tdhs at users.sourceforge.net
Sun Jan 9 23:54:05 CET 2011


Revision: 55194
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55194&view=rev
Author:   tdhs
Date:     2011-01-09 22:54:04 +0000 (Sun, 09 Jan 2011)

Log Message:
-----------
CINE: Added fix for Operation Stealth Loss of Inventory after Scene 6 Labyrinth Maze.

It is now possible to open the office safe and get the envelope, though the engine now asserts with a palette issue in the next scene as the Russians board the Jetskis.

Modified Paths:
--------------
    scummvm/trunk/engines/cine/object.cpp

Modified: scummvm/trunk/engines/cine/object.cpp
===================================================================
--- scummvm/trunk/engines/cine/object.cpp	2011-01-09 22:43:25 UTC (rev 55193)
+++ scummvm/trunk/engines/cine/object.cpp	2011-01-09 22:54:04 UTC (rev 55194)
@@ -43,6 +43,7 @@
 }
 
 void loadObject(char *pObjectName) {
+	debug(5, "loadObject(\"%s\")", pObjectName);
 	uint16 numEntry;
 	uint16 entrySize;
 	uint16 i;
@@ -61,7 +62,7 @@
 	assert(numEntry <= NUM_MAX_OBJECT);
 
 	for (i = 0; i < numEntry; i++) {
-		if (g_cine->_objectTable[i].costume != -2) {	// flag is keep ?
+		if (g_cine->_objectTable[i].costume != -2 && g_cine->_objectTable[i].costume != -3) {	// flag is keep ?
 			Common::MemoryReadStream readS(ptr, entrySize);
 
 			g_cine->_objectTable[i].x = readS.readSint16BE();


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