From c08fc15cbef49d61dbed3ad78515ea9ca6fbdb80 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 30 Apr 2011 16:40:40 +1000 Subject: TSAGE: Fix for GUI dialog appearing when clicking on some hotspots in Scene #5200 --- engines/tsage/ringworld_scenes6.cpp | 4 ++-- engines/tsage/ringworld_scenes6.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/engines/tsage/ringworld_scenes6.cpp b/engines/tsage/ringworld_scenes6.cpp index affc9cbc74..774d83b599 100644 --- a/engines/tsage/ringworld_scenes6.cpp +++ b/engines/tsage/ringworld_scenes6.cpp @@ -1574,7 +1574,7 @@ void Scene5200::Hotspot10::doAction(int action) { } break; default: - SceneItem::doAction(action); + SceneObject::doAction(action); break; } } @@ -1590,7 +1590,7 @@ void Scene5200::Hotspot14::doAction(int action) { scene->setAction(&scene->_action2); break; default: - SceneItem::doAction(action); + SceneObject::doAction(action); break; } } diff --git a/engines/tsage/ringworld_scenes6.h b/engines/tsage/ringworld_scenes6.h index 272aea4fe9..16b2800fc6 100644 --- a/engines/tsage/ringworld_scenes6.h +++ b/engines/tsage/ringworld_scenes6.h @@ -216,11 +216,11 @@ class Scene5200 : public Scene { }; /* Hotspots */ - class Hotspot9 : public SceneItemExt { + class Hotspot9 : public SceneObjectExt { public: virtual void doAction(int action); }; - class Hotspot10 : public SceneItemExt { + class Hotspot10 : public SceneObjectExt { public: virtual void doAction(int action); }; -- cgit v1.2.3