aboutsummaryrefslogtreecommitdiff
path: root/engines/tucker/tucker.cpp
diff options
context:
space:
mode:
authorAdrian Frühwirth2018-01-25 00:41:14 +0100
committerEugene Sandulenko2018-03-12 11:36:51 +0100
commite018efbc225c68cc2b1fc3c566fa0e8559c42a65 (patch)
tree8ad4b0387a52b34a9ab7a252f7cb9e1f0071ebe3 /engines/tucker/tucker.cpp
parentb1bce3ec37046e93d1ddd276d22a3c0587641ee4 (diff)
downloadscummvm-rg350-e018efbc225c68cc2b1fc3c566fa0e8559c42a65.tar.gz
scummvm-rg350-e018efbc225c68cc2b1fc3c566fa0e8559c42a65.tar.bz2
scummvm-rg350-e018efbc225c68cc2b1fc3c566fa0e8559c42a65.zip
TUCKER: Fix alleyway cellar location hotspot bug
Fixes Trac#6645.
Diffstat (limited to 'engines/tucker/tucker.cpp')
-rw-r--r--engines/tucker/tucker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tucker/tucker.cpp b/engines/tucker/tucker.cpp
index 11ff5a4cc5..c86d72a9da 100644
--- a/engines/tucker/tucker.cpp
+++ b/engines/tucker/tucker.cpp
@@ -3754,7 +3754,7 @@ int TuckerEngine::setLocationAnimationUnderCursor() {
continue;
}
if (_locationAnimationsTable[i]._selectable == 0) {
- return -1;
+ continue;
}
_selectedObjectType = 1;
_selectedCharacterNum = i;