diff options
author | strangerke | 2011-04-22 08:28:09 +0200 |
---|---|---|
committer | strangerke | 2011-04-22 08:28:09 +0200 |
commit | 4d02cf52d217e4a6c956b80540a3d0611ff7d21d (patch) | |
tree | b52bfd6d70ea52f9c29115f2c3645ff78d272f5a /engines/tsage/ringworld_scenes5.cpp | |
parent | 1d93c80c148e3fc1310cbe9cd1a8f60b1c7c3642 (diff) | |
download | scummvm-rg350-4d02cf52d217e4a6c956b80540a3d0611ff7d21d.tar.gz scummvm-rg350-4d02cf52d217e4a6c956b80540a3d0611ff7d21d.tar.bz2 scummvm-rg350-4d02cf52d217e4a6c956b80540a3d0611ff7d21d.zip |
TSAGE: Fix initialization bug in scene 4100.
Diffstat (limited to 'engines/tsage/ringworld_scenes5.cpp')
-rw-r--r-- | engines/tsage/ringworld_scenes5.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/tsage/ringworld_scenes5.cpp b/engines/tsage/ringworld_scenes5.cpp index bf4af4d781..8222eb7e1a 100644 --- a/engines/tsage/ringworld_scenes5.cpp +++ b/engines/tsage/ringworld_scenes5.cpp @@ -824,6 +824,7 @@ void Scene4000::postInit(SceneObjectList *OwnerList) { _smoke2.animate(ANIM_MODE_2, NULL); if (_globals->_inventory._ladder._sceneNumber != 4000) { + // if ladder is not in the scene, activate the hotspot on the wall _hotspot8.postInit(); _hotspot8.setVisage(4018); _hotspot8.setObjectWrapper(new SceneObjectWrapper()); @@ -2551,7 +2552,9 @@ void Scene4100::Ladder::doAction(int action) { } } - +/** + Exit hotspot, South + */ void Scene4100::Hotspot14::doAction(int action) { Scene4100 *scene = (Scene4100 *)_globals->_sceneManager._scene; @@ -2622,7 +2625,7 @@ void Scene4100::postInit(SceneObjectList *OwnerList) { _hotspot4.setStrip2(2); _hotspot4.setPosition(Common::Point(152, 167)); - if (!_globals->getFlag(36)) { + if (_globals->getFlag(36)) { _hotspot1.setVisage(4105); _hotspot1.setStrip(1); _hotspot1.setFrame(4); |