aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/ringworld
diff options
context:
space:
mode:
authorPaul Gilbert2011-10-14 21:22:23 +1100
committerPaul Gilbert2011-10-14 21:22:23 +1100
commit39c175f7835921f9dba34ea26ebf2658bfb5bf00 (patch)
treea003c75c0a893d31d59dd9bb19701ec114f15d29 /engines/tsage/ringworld
parent2ac551aa28dd0c7b339516a53135d6195ec0666f (diff)
downloadscummvm-rg350-39c175f7835921f9dba34ea26ebf2658bfb5bf00.tar.gz
scummvm-rg350-39c175f7835921f9dba34ea26ebf2658bfb5bf00.tar.bz2
scummvm-rg350-39c175f7835921f9dba34ea26ebf2658bfb5bf00.zip
TSAGE: Bugfix for #3423512 - Not being able to get crown
Diffstat (limited to 'engines/tsage/ringworld')
-rw-r--r--engines/tsage/ringworld/ringworld_logic.cpp6
-rw-r--r--engines/tsage/ringworld/ringworld_scenes10.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/tsage/ringworld/ringworld_logic.cpp b/engines/tsage/ringworld/ringworld_logic.cpp
index 5254fe66d7..ad67b66f69 100644
--- a/engines/tsage/ringworld/ringworld_logic.cpp
+++ b/engines/tsage/ringworld/ringworld_logic.cpp
@@ -603,19 +603,19 @@ void NamedHotspot::doAction(int action) {
break;
SceneItem::display(_resNum, _lookLineNum, SET_Y, 20, SET_WIDTH, 200, SET_EXT_BGCOLOR, 7, LIST_END);
- break;
+ return;
case CURSOR_USE:
if (_useLineNum == -1)
break;
SceneItem::display(_resNum, _useLineNum, SET_Y, 20, SET_WIDTH, 200, SET_EXT_BGCOLOR, 7, LIST_END);
- break;
+ return;
case CURSOR_TALK:
if (_talkLineNum == -1)
break;
SceneItem::display(_resNum, _lookLineNum, SET_Y, 20, SET_WIDTH, 200, SET_EXT_BGCOLOR, 7, LIST_END);
- break;
+ return;
default:
break;
}
diff --git a/engines/tsage/ringworld/ringworld_scenes10.cpp b/engines/tsage/ringworld/ringworld_scenes10.cpp
index 474999d94e..5aeb127915 100644
--- a/engines/tsage/ringworld/ringworld_scenes10.cpp
+++ b/engines/tsage/ringworld/ringworld_scenes10.cpp
@@ -1182,7 +1182,7 @@ void Scene9500::postInit(SceneObjectList *OwnerList) {
_object2.setFrame(_object2.getFrameCount());
_object2.setPosition(Common::Point(303, 130));
_object2.fixPriority(132);
- if (RING_INVENTORY._helmet._sceneNumber == 1) {
+ if (RING_INVENTORY._helmet._sceneNumber != 1) {
_hotspot2.setDetails(87, 294, 104, 314, 9400, 17, -1);
} else {
_object2.setStrip(2);