diff options
author | Paul Gilbert | 2011-07-30 09:13:47 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-07-30 09:13:47 +1000 |
commit | 471815e00c2d5190067d4063d500d1fa9cc0973b (patch) | |
tree | dee9c9177587b4ab45b8207289e5b86367350fb2 | |
parent | 4a64e928cf07e8333312a5d74a72034d56aee2fe (diff) | |
download | scummvm-rg350-471815e00c2d5190067d4063d500d1fa9cc0973b.tar.gz scummvm-rg350-471815e00c2d5190067d4063d500d1fa9cc0973b.tar.bz2 scummvm-rg350-471815e00c2d5190067d4063d500d1fa9cc0973b.zip |
TSAGE: Fix base hotspot classes of hotspots in Scene #40
-rw-r--r-- | engines/tsage/ringworld_scenes1.cpp | 6 | ||||
-rw-r--r-- | engines/tsage/ringworld_scenes1.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/engines/tsage/ringworld_scenes1.cpp b/engines/tsage/ringworld_scenes1.cpp index 6a82ca7e9d..ee16464931 100644 --- a/engines/tsage/ringworld_scenes1.cpp +++ b/engines/tsage/ringworld_scenes1.cpp @@ -1434,7 +1434,7 @@ void Scene40::Item2::doAction(int action) { SceneItem::display2(40, 37); break; default: - SceneItem::doAction(action); + SceneHotspot::doAction(action); break; } } @@ -1455,7 +1455,7 @@ void Scene40::Item6::doAction(int action) { SceneItem::display2(40, 36); break; default: - SceneItem::doAction(action); + SceneHotspot::doAction(action); break; } } @@ -1464,7 +1464,7 @@ void Scene40::Item6::doAction(int action) { Scene40::Scene40() : _item1(2, OBJECT_SCANNER, 40, 24, OBJECT_STUNNER, 40, 25, CURSOR_LOOK, 40, 7, CURSOR_USE, 40, 16, LIST_END), - _item3(5, OBJECT_SCANNER, 40, 26, OBJECT_STUNNER, 40, 27, CURSOR_LOOK, 40, 9, CURSOR_USE, 40, 17, LIST_END), + _item3(5, OBJECT_SCANNER, 40, 28, OBJECT_STUNNER, 40, 27, CURSOR_LOOK, 40, 2, CURSOR_USE, 40, 30, LIST_END), _item4(6, OBJECT_SCANNER, 40, 31, OBJECT_STUNNER, 40, 32, CURSOR_LOOK, 40, 5, CURSOR_USE, 40, 33, LIST_END), _item5(0, CURSOR_LOOK, 40, 11, LIST_END), _item7(4, OBJECT_SCANNER, 40, 26, OBJECT_STUNNER, 40, 27, CURSOR_LOOK, 40, 9, CURSOR_USE, 40, 17, LIST_END), diff --git a/engines/tsage/ringworld_scenes1.h b/engines/tsage/ringworld_scenes1.h index 229dfc7130..0f9bf61117 100644 --- a/engines/tsage/ringworld_scenes1.h +++ b/engines/tsage/ringworld_scenes1.h @@ -215,15 +215,15 @@ class Scene40 : public Scene { }; /* Items */ - class Item2 : public SceneItem { + class Item2 : public SceneHotspot { public: virtual void doAction(int action); }; - class Item6 : public SceneItem { + class Item6 : public SceneHotspot { public: virtual void doAction(int action); }; - class Item8 : public SceneItem { + class Item8 : public SceneHotspot { public: virtual void doAction(int action); }; |