diff --git a/engines/saga2/objects.cpp b/engines/saga2/objects.cpp index 6dad9fc545d..431a6ad0dce 100644 --- a/engines/saga2/objects.cpp +++ b/engines/saga2/objects.cpp @@ -4356,11 +4356,15 @@ bool objObscured(GameObject *testObj) { bool obscured = false; if (isObject(testObj)) { + debug(3, "STUB: objObscured"); Point16 drawPos, org; ObjectSpriteInfo objSprInfo; ColorTable objColors; ProtoObj *proto = testObj->proto(); + ObjectID parent = testObj->_data.parentID; + if (isWorld(parent) == false) + return false; // Calculate X, Y coordinates of the sprite TileToScreenCoords(testObj->getLocation(), drawPos);