diff options
author | Paul Gilbert | 2011-04-30 16:40:40 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-04-30 16:40:40 +1000 |
commit | c08fc15cbef49d61dbed3ad78515ea9ca6fbdb80 (patch) | |
tree | def637a1645ec0e456455dafa53eda0702fb6b1f | |
parent | 9fc1ed2c6059e68ebf857a646b767de7811e0f00 (diff) | |
download | scummvm-rg350-c08fc15cbef49d61dbed3ad78515ea9ca6fbdb80.tar.gz scummvm-rg350-c08fc15cbef49d61dbed3ad78515ea9ca6fbdb80.tar.bz2 scummvm-rg350-c08fc15cbef49d61dbed3ad78515ea9ca6fbdb80.zip |
TSAGE: Fix for GUI dialog appearing when clicking on some hotspots in Scene #5200
-rw-r--r-- | engines/tsage/ringworld_scenes6.cpp | 4 | ||||
-rw-r--r-- | 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); }; |