aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/blue_force
diff options
context:
space:
mode:
authorPaul Gilbert2011-10-16 14:31:06 +1100
committerPaul Gilbert2011-10-16 14:31:06 +1100
commitce79726b7d2ac6393f021f0f0e0e8112a29b85f1 (patch)
tree02e4656b7eba4cb2e0411762f4e91178f9bedeb0 /engines/tsage/blue_force
parentc65b42bce4912c9524dd429231d044ab26b0ada2 (diff)
downloadscummvm-rg350-ce79726b7d2ac6393f021f0f0e0e8112a29b85f1.tar.gz
scummvm-rg350-ce79726b7d2ac6393f021f0f0e0e8112a29b85f1.tar.bz2
scummvm-rg350-ce79726b7d2ac6393f021f0f0e0e8112a29b85f1.zip
TSAGE: Bugfix to be able to leave Alleycat Bowl
Diffstat (limited to 'engines/tsage/blue_force')
-rw-r--r--engines/tsage/blue_force/blueforce_scenes4.cpp4
-rw-r--r--engines/tsage/blue_force/blueforce_scenes4.h5
2 files changed, 6 insertions, 3 deletions
diff --git a/engines/tsage/blue_force/blueforce_scenes4.cpp b/engines/tsage/blue_force/blueforce_scenes4.cpp
index a51f836d61..fadddb531e 100644
--- a/engines/tsage/blue_force/blueforce_scenes4.cpp
+++ b/engines/tsage/blue_force/blueforce_scenes4.cpp
@@ -1486,7 +1486,7 @@ bool Scene450::Object4::startAction(CursorType action, Event &event) {
/*--------------------------------------------------------------------------*/
-bool Scene450::Item1::startAction(CursorType action, Event &event) {
+bool Scene450::Exit::startAction(CursorType action, Event &event) {
Scene450 *scene = (Scene450 *)BF_GLOBALS._sceneManager._scene;
if (event.eventType == EVENT_BUTTON_DOWN) {
@@ -1609,8 +1609,10 @@ void Scene450::signal() {
break;
case 4501:
if (BF_GLOBALS._sceneObjects->contains(&_object2)) {
+ _sceneMode = 450;
ADD_MOVER(_object2, -20, 135);
} else {
+ _sceneMode = 451;
ADD_PLAYER_MOVER(0, 160);
}
break;
diff --git a/engines/tsage/blue_force/blueforce_scenes4.h b/engines/tsage/blue_force/blueforce_scenes4.h
index 1b961b7ba8..43225cfc41 100644
--- a/engines/tsage/blue_force/blueforce_scenes4.h
+++ b/engines/tsage/blue_force/blueforce_scenes4.h
@@ -232,7 +232,7 @@ class Scene450: public SceneExt {
};
/* Items */
- class Item1: public NamedHotspot {
+ class Exit: public NamedHotspot {
public:
virtual bool startAction(CursorType action, Event &event);
};
@@ -250,7 +250,8 @@ public:
Object3 _object3;
Object4 _object4;
NamedObject _door, _counterDoor;
- NamedHotspot _exit, _interior, _shelf, _counter;
+ Exit _exit;
+ NamedHotspot _interior, _shelf, _counter;
int _field19AC, _field19AE;
Scene450();