aboutsummaryrefslogtreecommitdiff
path: root/engines/tucker
diff options
context:
space:
mode:
authorAdrian Frühwirth2018-03-17 21:18:46 +0100
committerAdrian Frühwirth2018-03-17 21:18:46 +0100
commitc4dfa57e6f91246b545c1ba1c0767a4f3f2abca5 (patch)
treeabdca92d6cc222b9f31218792d233b7feafb4cad /engines/tucker
parent578f9d2e5c754e49750ac854404f553790555926 (diff)
downloadscummvm-rg350-c4dfa57e6f91246b545c1ba1c0767a4f3f2abca5.tar.gz
scummvm-rg350-c4dfa57e6f91246b545c1ba1c0767a4f3f2abca5.tar.bz2
scummvm-rg350-c4dfa57e6f91246b545c1ba1c0767a4f3f2abca5.zip
TUCKER: Add comment about earlier commit e018efbc22 fixing Trac#6645
Diffstat (limited to 'engines/tucker')
-rw-r--r--engines/tucker/tucker.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/tucker/tucker.cpp b/engines/tucker/tucker.cpp
index 5cd0f4af79..6ea6bce140 100644
--- a/engines/tucker/tucker.cpp
+++ b/engines/tucker/tucker.cpp
@@ -3780,6 +3780,11 @@ int TuckerEngine::setLocationAnimationUnderCursor() {
continue;
}
if (_locationAnimationsTable[i]._selectable == 0) {
+ // WORKAROUND
+ // The original game does a "return -1" here which is not correct in
+ // case of overlapping hotspots.
+ // This most prominently fixes Trac#6645, a bug where the cellar in part three
+ // could be entered without having done the cellar door puzzle first.
continue;
}
_selectedObjectType = 1;