diff options
author | Paul Gilbert | 2011-05-06 22:54:54 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-05-06 22:54:54 +1000 |
commit | d77502eaf41b0bfc18fa22a23938e7d619f9e16c (patch) | |
tree | 7bd1c57b7b6d224c5b9e6ab742dace2253c75116 /engines/tsage | |
parent | 67975303e636470e963453d681a3e71896f57f91 (diff) | |
download | scummvm-rg350-d77502eaf41b0bfc18fa22a23938e7d619f9e16c.tar.gz scummvm-rg350-d77502eaf41b0bfc18fa22a23938e7d619f9e16c.tar.bz2 scummvm-rg350-d77502eaf41b0bfc18fa22a23938e7d619f9e16c.zip |
TSAGE: Bugfix for hotspot issues in Scene #7000
Diffstat (limited to 'engines/tsage')
-rw-r--r-- | engines/tsage/ringworld_scenes8.cpp | 4 | ||||
-rw-r--r-- | engines/tsage/ringworld_scenes8.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/tsage/ringworld_scenes8.cpp b/engines/tsage/ringworld_scenes8.cpp index fbed069b5d..0969ba8a4e 100644 --- a/engines/tsage/ringworld_scenes8.cpp +++ b/engines/tsage/ringworld_scenes8.cpp @@ -349,8 +349,8 @@ void Scene7000::Action7::signal() { void Scene7000::SceneItem1::doAction(int action) { if (action == CURSOR_LOOK) SceneItem::display2(7000, 2); - - SceneItem::doAction(action); + else + SceneHotspot::doAction(action); } /*--------------------------------------------------------------------------*/ diff --git a/engines/tsage/ringworld_scenes8.h b/engines/tsage/ringworld_scenes8.h index a88a01b5a2..c40a43eba6 100644 --- a/engines/tsage/ringworld_scenes8.h +++ b/engines/tsage/ringworld_scenes8.h @@ -95,7 +95,7 @@ class Scene7000 : public Scene { }; /* Items */ - class SceneItem1 : public SceneItem { + class SceneItem1 : public SceneHotspot { public: virtual void doAction(int action); }; |