aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/blue_force
diff options
context:
space:
mode:
authorPaul Gilbert2011-10-15 14:49:31 +1100
committerPaul Gilbert2011-10-15 14:49:31 +1100
commit403b20e70dee6b3673ca2c7a21ab93785fa41aea (patch)
treeae42238e5c9d6a3561e8c3c2fd455610248bfbc2 /engines/tsage/blue_force
parentf0245ef09a86d91a382f6baf3156d071b7f187d1 (diff)
downloadscummvm-rg350-403b20e70dee6b3673ca2c7a21ab93785fa41aea.tar.gz
scummvm-rg350-403b20e70dee6b3673ca2c7a21ab93785fa41aea.tar.bz2
scummvm-rg350-403b20e70dee6b3673ca2c7a21ab93785fa41aea.zip
TSAGE: Bugfix for Blue Force scene 810 - Lyle's Office
Diffstat (limited to 'engines/tsage/blue_force')
-rw-r--r--engines/tsage/blue_force/blueforce_scenes8.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/engines/tsage/blue_force/blueforce_scenes8.cpp b/engines/tsage/blue_force/blueforce_scenes8.cpp
index 9a14aada02..e888bbc8f8 100644
--- a/engines/tsage/blue_force/blueforce_scenes8.cpp
+++ b/engines/tsage/blue_force/blueforce_scenes8.cpp
@@ -422,7 +422,7 @@ void Scene810::Action2::signal() {
}
break;
case 2:
- scene->setAction(&scene->_sequenceManager1, this, 8117, &scene->_lyle, &scene->_chair, NULL);
+ setAction(&scene->_sequenceManager1, this, 8117, &scene->_lyle, &scene->_chair, NULL);
break;
case 3:
BF_GLOBALS._walkRegions.proc2(4);
@@ -1283,11 +1283,13 @@ void Scene810::dispatch() {
SceneItem::display2(810, 35);
_sceneMode = 8100;
setAction(&_sequenceManager1, this, 8100, &BF_GLOBALS._player, NULL);
- } else if (BF_GLOBALS.getFlag(fWithLyle)) {
- BF_GLOBALS._walkRegions.proc2(4);
- BF_GLOBALS._walkRegions.proc2(13);
+ } else {
+ if (BF_GLOBALS.getFlag(fWithLyle)) {
+ BF_GLOBALS._walkRegions.proc2(4);
+ BF_GLOBALS._walkRegions.proc2(13);
- ADD_MOVER_NULL(_lyle, 320, 155);
+ ADD_MOVER_NULL(_lyle, 320, 155);
+ }
_sceneMode = 8101;
setAction(&_sequenceManager1, this, 8101, &BF_GLOBALS._player, NULL);