diff options
author | Paul Gilbert | 2011-10-22 08:08:52 +1100 |
---|---|---|
committer | Paul Gilbert | 2011-10-22 08:14:08 +1100 |
commit | 0d135faf6cfd42cabe794bf00098d61e8530607c (patch) | |
tree | 95b4940011ee6da6c9bf449097dae52bc5491ef9 | |
parent | 11dc5be873eba16ffd4e4f44137dbab791acb0e3 (diff) | |
download | scummvm-rg350-0d135faf6cfd42cabe794bf00098d61e8530607c.tar.gz scummvm-rg350-0d135faf6cfd42cabe794bf00098d61e8530607c.tar.bz2 scummvm-rg350-0d135faf6cfd42cabe794bf00098d61e8530607c.zip |
TSAGE: Bugfix for Lyle walking to Warehouse in BF Scene 910
-rw-r--r-- | engines/tsage/blue_force/blueforce_scenes9.cpp | 2 | ||||
-rw-r--r-- | engines/tsage/core.cpp | 2 |
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; } } |