aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2011-05-01 23:40:39 +1000
committerPaul Gilbert2011-05-01 23:40:39 +1000
commitf7353eedcb446b0b8a8f1619eb948461fe905512 (patch)
tree89f4378f257e21e36de7190cd32ea2089e162ddd /engines
parent12cae34739029283792e14e0bca6c5db396dcec5 (diff)
downloadscummvm-rg350-f7353eedcb446b0b8a8f1619eb948461fe905512.tar.gz
scummvm-rg350-f7353eedcb446b0b8a8f1619eb948461fe905512.tar.bz2
scummvm-rg350-f7353eedcb446b0b8a8f1619eb948461fe905512.zip
TSAGE: Bugfix for picking up tunic in scene #9450
Diffstat (limited to 'engines')
-rw-r--r--engines/tsage/ringworld_scenes10.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/tsage/ringworld_scenes10.cpp b/engines/tsage/ringworld_scenes10.cpp
index fb0c2d5075..c47a0ba15d 100644
--- a/engines/tsage/ringworld_scenes10.cpp
+++ b/engines/tsage/ringworld_scenes10.cpp
@@ -825,7 +825,7 @@ void Scene9400::postInit(SceneObjectList *OwnerList) {
void Scene9450::Object2::signal() {
Scene9450 *scene = (Scene9450 *)_globals->_sceneManager._scene;
- this->setAction(&scene->_sequenceManager3, this, 9458, &scene->_object1, 0);
+ this->setAction(&scene->_sequenceManager3, this, 9458, this, &scene->_object1, 0);
}
void Scene9450::Object3::dispatch() {
@@ -841,7 +841,7 @@ void Scene9450::Hotspot1::doAction(int action) {
scene->_object2._action->remove();
scene->_sceneMode = 9459;
_globals->_player.disableControl();
- setAction(&scene->_sequenceManager1, scene, 9459, &scene->_object2, &scene->_object1, &scene->_object3, &_globals->_player, 0);
+ scene->setAction(&scene->_sequenceManager1, scene, 9459, &scene->_object2, &scene->_object1, &scene->_object3, &_globals->_player, 0);
} else {
NamedHotspot::doAction(action);
}
@@ -918,7 +918,9 @@ void Scene9450::signal() {
_globals->_sceneManager.changeScene(9360);
break;
case 9459:
+ RING_INVENTORY._tunic._sceneNumber = 1;
_object2.signal();
+ _globals->_player.enableControl();
_globals->_events.setCursor(CURSOR_WALK);
_hotspot1.remove();
break;