SAGA2: Revert stub in objObscured

This commit is contained in:
a/ 2021-06-24 15:44:21 +09:00 committed by Eugene Sandulenko
parent 236130d6af
commit 4b0b742baa
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -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);