aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Turner2011-01-09 22:54:04 +0000
committerDavid Turner2011-01-09 22:54:04 +0000
commitc0da18e9b8f9a20d5adfda5cdf55e781f5b6dc48 (patch)
treecd19949a0d8fca3b751b12aa8880a51d4083b77d
parenta9d3e5c2844c32fb4470a55f2a262edea285713e (diff)
downloadscummvm-rg350-c0da18e9b8f9a20d5adfda5cdf55e781f5b6dc48.tar.gz
scummvm-rg350-c0da18e9b8f9a20d5adfda5cdf55e781f5b6dc48.tar.bz2
scummvm-rg350-c0da18e9b8f9a20d5adfda5cdf55e781f5b6dc48.zip
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
-rw-r--r--engines/cine/object.cpp3
1 files changed, 2 insertions, 1 deletions
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();