aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstrangerke2011-05-05 00:22:27 +0200
committerstrangerke2011-05-05 00:22:27 +0200
commitf91ed4e04a0af10c46b2d3a640b324cd7a614423 (patch)
treeaf81c2111c8ce20feca61d03164d09d25b1c8705
parent379b3104a43111113fb33114945999933944475a (diff)
downloadscummvm-rg350-f91ed4e04a0af10c46b2d3a640b324cd7a614423.tar.gz
scummvm-rg350-f91ed4e04a0af10c46b2d3a640b324cd7a614423.tar.bz2
scummvm-rg350-f91ed4e04a0af10c46b2d3a640b324cd7a614423.zip
TSAGE: fix 3 freezes in scene 9450
-rw-r--r--engines/tsage/ringworld_scenes10.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/tsage/ringworld_scenes10.cpp b/engines/tsage/ringworld_scenes10.cpp
index a41820f47f..aa4e8f8d55 100644
--- a/engines/tsage/ringworld_scenes10.cpp
+++ b/engines/tsage/ringworld_scenes10.cpp
@@ -860,7 +860,7 @@ void Scene9450::Hotspot3::doAction(int action) {
case OBJECT_TUNIC2:
scene->_sceneMode = 9460;
_globals->_player.disableControl();
- setAction(&scene->_sequenceManager1, scene, 9460, &_globals->_player, &scene->_object2, &scene->_object1, NULL);
+ scene->setAction(&scene->_sequenceManager1, scene, 9460, &_globals->_player, &scene->_object2, &scene->_object1, NULL);
break;
case OBJECT_TUNIC:
SceneItem::display(9450, 49, SET_Y, 20, SET_WIDTH, 200, SET_EXT_BGCOLOR, 7, LIST_END);
@@ -878,13 +878,13 @@ void Scene9450::Hotspot3::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, NULL);
+ scene->setAction(&scene->_sequenceManager1, scene, 9459, &scene->_object2, &scene->_object1, &scene->_object3, &_globals->_player, NULL);
} else if ((RING_INVENTORY._cloak._sceneNumber != 1) && (RING_INVENTORY._jacket._sceneNumber != 1) && (RING_INVENTORY._tunic2._sceneNumber != 1)) {
SceneItem::display(9450, 38, SET_Y, 20, SET_WIDTH, 200, SET_EXT_BGCOLOR, 7, LIST_END);
} else {
scene->_sceneMode = 9460;
_globals->_player.disableControl();
- setAction(&scene->_sequenceManager1, scene, 9460, &_globals->_player, &scene->_object2, &scene->_object1, NULL);
+ scene->setAction(&scene->_sequenceManager1, scene, 9460, &_globals->_player, &scene->_object2, &scene->_object1, NULL);
}
break;
default: