From 4b0b742baa37cd04e8c21640b99f0636010598f0 Mon Sep 17 00:00:00 2001 From: a/ Date: Thu, 24 Jun 2021 15:44:21 +0900 Subject: [PATCH] SAGA2: Revert stub in objObscured --- engines/saga2/objects.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/engines/saga2/objects.cpp b/engines/saga2/objects.cpp index 40b4bb28d81..39a778908e5 100644 --- a/engines/saga2/objects.cpp +++ b/engines/saga2/objects.cpp @@ -4261,15 +4261,11 @@ 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);