From c0da18e9b8f9a20d5adfda5cdf55e781f5b6dc48 Mon Sep 17 00:00:00 2001 From: David Turner Date: Sun, 9 Jan 2011 22:54:04 +0000 Subject: 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. svn-id: r55194 --- engines/cine/object.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/cine/object.cpp') diff --git a/engines/cine/object.cpp b/engines/cine/object.cpp index 2b456ad49d..d69ddc1271 100644 --- a/engines/cine/object.cpp +++ b/engines/cine/object.cpp @@ -43,6 +43,7 @@ void resetObjectTable() { } void loadObject(char *pObjectName) { + debug(5, "loadObject(\"%s\")", pObjectName); uint16 numEntry; uint16 entrySize; uint16 i; @@ -61,7 +62,7 @@ void loadObject(char *pObjectName) { 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(); -- cgit v1.2.3