aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/ringworld
diff options
context:
space:
mode:
authorPaul Gilbert2011-10-12 21:29:30 +1100
committerPaul Gilbert2011-10-12 21:29:30 +1100
commitbfdd274c78951ed7ccb30e1e2255c67a4ef1637a (patch)
tree832019fe9382a540f9dfc03a8e6943a2e544c2a6 /engines/tsage/ringworld
parent8a8fd94f100ec4e8891bf8c81a2c4de70d1bfd87 (diff)
downloadscummvm-rg350-bfdd274c78951ed7ccb30e1e2255c67a4ef1637a.tar.gz
scummvm-rg350-bfdd274c78951ed7ccb30e1e2255c67a4ef1637a.tar.bz2
scummvm-rg350-bfdd274c78951ed7ccb30e1e2255c67a4ef1637a.zip
TSAGE: Bugfix for #3422150 - GUI dialog when clicking on skulls
Diffstat (limited to 'engines/tsage/ringworld')
-rw-r--r--engines/tsage/ringworld/ringworld_logic.cpp3
-rw-r--r--engines/tsage/ringworld/ringworld_scenes6.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/engines/tsage/ringworld/ringworld_logic.cpp b/engines/tsage/ringworld/ringworld_logic.cpp
index 38ce8954d2..e3b5370ae2 100644
--- a/engines/tsage/ringworld/ringworld_logic.cpp
+++ b/engines/tsage/ringworld/ringworld_logic.cpp
@@ -603,9 +603,10 @@ void NamedHotspot::doAction(int action) {
SceneItem::display(_resNum, _lookLineNum, SET_Y, 20, SET_WIDTH, 200, SET_EXT_BGCOLOR, 7, LIST_END);
break;
default:
- SceneHotspot::doAction(action);
break;
}
+
+ SceneHotspot::doAction(action);
}
void NamedHotspot::setDetails(int ys, int xs, int ye, int xe, const int resnum, const int lookLineNum, const int useLineNum) {
diff --git a/engines/tsage/ringworld/ringworld_scenes6.cpp b/engines/tsage/ringworld/ringworld_scenes6.cpp
index cd3415f511..57a073caee 100644
--- a/engines/tsage/ringworld/ringworld_scenes6.cpp
+++ b/engines/tsage/ringworld/ringworld_scenes6.cpp
@@ -1562,7 +1562,7 @@ void Scene5200::Hotspot9::doAction(int action) {
SceneItem::display2(5200, 14);
break;
default:
- SceneItem::doAction(action);
+ SceneHotspot::doAction(action);
break;
}
}