aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/tsage/blue_force/blueforce_scenes9.cpp2
-rw-r--r--engines/tsage/core.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/tsage/blue_force/blueforce_scenes9.cpp b/engines/tsage/blue_force/blueforce_scenes9.cpp
index d4637ca3c9..368efff3c6 100644
--- a/engines/tsage/blue_force/blueforce_scenes9.cpp
+++ b/engines/tsage/blue_force/blueforce_scenes9.cpp
@@ -521,7 +521,7 @@ void Scene900::postInit(SceneObjectList *OwnerList) {
_sceneMode = 9013;
_lyle.postInit();
_lyle._moveDiff.y = 7;
- _lyle._flags |= 0x1000;
+ _lyle._flags |= OBJFLAG_CHECK_REGION;
_lyle.setDetails(900, 19, 20, 21, ANIM_MODE_1, NULL);
_lyleHatSpeaker._xp = 210;
_jakeJacketSpeaker._xp = 75;
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp
index 6029a91daa..61a413f307 100644
--- a/engines/tsage/core.cpp
+++ b/engines/tsage/core.cpp
@@ -2032,7 +2032,7 @@ int SceneObject::checkRegion(const Common::Point &pt) {
if ((objYDiff >= yPos) && (objYDiff <= newY) &&
((*i)->_xs < tempRect.right) && ((*i)->_xe > tempRect.left)) {
// Found index
- regionIndex = -1; //****DEBUG*** = *i;
+ regionIndex = (*i)->_regionIndex;
break;
}
}