diff options
author | Thanasis Antoniou | 2019-09-05 13:13:21 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-09-05 13:17:53 +0300 |
commit | ac912a5023c83c4ac87a6e77c213f99d501cdd6b (patch) | |
tree | 96dd1b4ca982bfdee6551401b8b3c3ba247d58ae /engines/bladerunner/ui/kia_section_suspects.cpp | |
parent | 541689eeb2f4ffd70ae7989e8313b2928de3ef11 (diff) | |
download | scummvm-rg350-ac912a5023c83c4ac87a6e77c213f99d501cdd6b.tar.gz scummvm-rg350-ac912a5023c83c4ac87a6e77c213f99d501cdd6b.tar.bz2 scummvm-rg350-ac912a5023c83c4ac87a6e77c213f99d501cdd6b.zip |
BLADERUNNER: Revert previous changes in clues listing
Keep the important bug fix which was in KIASectionSuspects::populateAcquiredClues
Some of the changes in the previous commit were due to confusing the role of the getClueIdByIndex method
Diffstat (limited to 'engines/bladerunner/ui/kia_section_suspects.cpp')
-rw-r--r-- | engines/bladerunner/ui/kia_section_suspects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/ui/kia_section_suspects.cpp b/engines/bladerunner/ui/kia_section_suspects.cpp index ba1f6a5f7f..c98c2c77bf 100644 --- a/engines/bladerunner/ui/kia_section_suspects.cpp +++ b/engines/bladerunner/ui/kia_section_suspects.cpp @@ -380,7 +380,7 @@ void KIASectionSuspects::onButtonPressed(int buttonId) { void KIASectionSuspects::populateAcquiredClues() { _acquiredClueCount = 0; for (int i = 0; i < kClueCount; ++i) { - int clueId = _clues->getClueIdByIndex(i); + int clueId = i; if (_clues->isAcquired(clueId)) { _acquiredClues[_acquiredClueCount].clueId = clueId; _acquiredClues[_acquiredClueCount].actorId = _clues->getFromActorId(clueId); |