aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorstrangerke2011-04-27 22:22:54 +0200
committerstrangerke2011-04-27 22:24:13 +0200
commit595570a117de6024f8fd89462d3e52c8d18826ef (patch)
treedf374b936d0998d9947eb7e3ebf00bed5a6a1f4a /engines
parent606f3fd855724c568ae13bc94d4fef09fa085f21 (diff)
downloadscummvm-rg350-595570a117de6024f8fd89462d3e52c8d18826ef.tar.gz
scummvm-rg350-595570a117de6024f8fd89462d3e52c8d18826ef.tar.bz2
scummvm-rg350-595570a117de6024f8fd89462d3e52c8d18826ef.zip
TSAGE: Fix "map" bug in scene 4050. Thanks MD5 for reporting it.
Diffstat (limited to 'engines')
-rw-r--r--engines/tsage/ringworld_scenes5.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/engines/tsage/ringworld_scenes5.cpp b/engines/tsage/ringworld_scenes5.cpp
index 38a260e742..4ad21ddd91 100644
--- a/engines/tsage/ringworld_scenes5.cpp
+++ b/engines/tsage/ringworld_scenes5.cpp
@@ -2003,6 +2003,7 @@ void Scene4045::dispatch() {
*--------------------------------------------------------------------------*/
void Scene4050::Action1::signal() {
+ // "Map" on the wall
Scene4050 *scene = (Scene4050 *)_globals->_sceneManager._scene;
switch (_actionIndex++) {
@@ -2010,9 +2011,12 @@ void Scene4050::Action1::signal() {
_globals->_player.disableControl();
setDelay(3);
break;
- case 1:
- ADD_PLAYER_MOVER(204, 152);
+ case 1: {
+ Common::Point pt(204, 152);
+ PlayerMover *mover = new PlayerMover();
+ _globals->_player.addMover(mover, &pt, this);
break;
+ }
case 2:
_globals->_player.checkAngle(&scene->_hotspot17);
@@ -2021,6 +2025,7 @@ void Scene4050::Action1::signal() {
scene->_hotspot14.setStrip(2);
scene->_hotspot14.setPosition(Common::Point(91, 154));
scene->_hotspot14.setPriority2(200);
+ setDelay(10);
break;
case 3:
_globals->_events.waitForPress();
@@ -2034,6 +2039,7 @@ void Scene4050::Action1::signal() {
}
void Scene4050::Action2::signal() {
+ // Climb down the rope
switch (_actionIndex++) {
case 0:
_globals->_player.disableControl();