From 56a817d53ef78fb57edc4eb697fbfc7241e5a039 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 30 Mar 2018 10:14:10 +0200 Subject: BLADERUNNER: Fixed bug in Actor::acquireCluesByRelations() --- engines/bladerunner/actor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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); } } -- cgit v1.2.3