diff options
author | strangerke | 2011-04-29 16:55:23 +0200 |
---|---|---|
committer | strangerke | 2011-04-29 22:50:54 +0200 |
commit | 2bd4c3c38cc9d5c9337d35d972e53d4b78effc14 (patch) | |
tree | 12e3b61436676d2995ce323096ac8139a3108bb2 | |
parent | c3463e77d2d7453e15c703a15df6e44745c7b6b4 (diff) | |
download | scummvm-rg350-2bd4c3c38cc9d5c9337d35d972e53d4b78effc14.tar.gz scummvm-rg350-2bd4c3c38cc9d5c9337d35d972e53d4b78effc14.tar.bz2 scummvm-rg350-2bd4c3c38cc9d5c9337d35d972e53d4b78effc14.zip |
TSAGE: Fix bug in scene 4050: The rope may now be used to climb too
-rw-r--r-- | engines/tsage/ringworld_scenes5.cpp | 3 | ||||
-rw-r--r-- | engines/tsage/ringworld_scenes5.h | 7 |
2 files changed, 6 insertions, 4 deletions
diff --git a/engines/tsage/ringworld_scenes5.cpp b/engines/tsage/ringworld_scenes5.cpp index 172c2fcba1..869f77b0fe 100644 --- a/engines/tsage/ringworld_scenes5.cpp +++ b/engines/tsage/ringworld_scenes5.cpp @@ -2080,6 +2080,7 @@ void Scene4050::Action2::signal() { } void Scene4050::Action3::signal() { + // Climb up the rope switch (_actionIndex++) { case 0: ADD_PLAYER_MOVER(210, 185); @@ -2179,7 +2180,7 @@ void Scene4050::Action4::signal() { /*--------------------------------------------------------------------------*/ -void Scene4050::Hotspot14::doAction(int action) { +void Scene4050::Hotspot15::doAction(int action) { Scene4050 *scene = (Scene4050 *)_globals->_sceneManager._scene; switch (action) { diff --git a/engines/tsage/ringworld_scenes5.h b/engines/tsage/ringworld_scenes5.h index e3d1ae08b5..626eab5dab 100644 --- a/engines/tsage/ringworld_scenes5.h +++ b/engines/tsage/ringworld_scenes5.h @@ -330,7 +330,7 @@ class Scene4050 : public Scene { }; /* Hotspots */ - class Hotspot14 : public SceneObject { + class Hotspot15 : public SceneObject { public: virtual void doAction(int action); }; @@ -349,8 +349,9 @@ public: DisplayHotspot _hotspot1, _hotspot2, _hotspot3, _hotspot4, _hotspot5; DisplayHotspot _hotspot6, _hotspot7, _hotspot8, _hotspot9, _hotspot10; DisplayHotspot _hotspot11, _hotspot12, _hotspot13; - Hotspot14 _hotspot14; - SceneObject _hotspot15, _hotspot16; + SceneObject _hotspot14; + Hotspot15 _hotspot15; + SceneObject _hotspot16; Hotspot17 _hotspot17; Scene4050(); |