aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2018-03-30 10:14:10 +0200
committerEugene Sandulenko2018-03-30 10:14:10 +0200
commit56a817d53ef78fb57edc4eb697fbfc7241e5a039 (patch)
treec54006f5bf257f690321df8abab88730fde16700 /engines
parent4b802e852b0896a5642eb14fe2866ec9003ecab3 (diff)
downloadscummvm-rg350-56a817d53ef78fb57edc4eb697fbfc7241e5a039.tar.gz
scummvm-rg350-56a817d53ef78fb57edc4eb697fbfc7241e5a039.tar.bz2
scummvm-rg350-56a817d53ef78fb57edc4eb697fbfc7241e5a039.zip
BLADERUNNER: Fixed bug in Actor::acquireCluesByRelations()
Diffstat (limited to 'engines')
-rw-r--r--engines/bladerunner/actor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/actor.cpp b/engines/bladerunner/actor.cpp
index 538037f461..f9446aae0a 100644
--- a/engines/bladerunner/actor.cpp
+++ b/engines/bladerunner/actor.cpp
@@ -1140,7 +1140,7 @@ void Actor::acquireCluesByRelations() {
for (int i = 0; i < _vm->_gameInfo->getActorCount(); i++) {
if (i != _id && _vm->_actors[i]->_setId == _setId && i && _id
&& checkFriendlinessAndHonesty(i)
- && _vm->_actors[0]->checkFriendlinessAndHonesty(_id)) {
+ && _vm->_actors[i]->checkFriendlinessAndHonesty(_id)) {
_clues->acquireCluesByRelations(_id, i);
}
}