aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2015-06-01 03:47:33 +0300
committerFilippos Karapetis2015-06-01 03:47:33 +0300
commit3b2c04521270709176a41c7dc84d7b2a76f0d2f3 (patch)
tree46b8abe2496a50d6fa0890b75710ff5c34152070 /engines
parente028eb442500fa457a8d8bf84105abd0e6f2e883 (diff)
downloadscummvm-rg350-3b2c04521270709176a41c7dc84d7b2a76f0d2f3.tar.gz
scummvm-rg350-3b2c04521270709176a41c7dc84d7b2a76f0d2f3.tar.bz2
scummvm-rg350-3b2c04521270709176a41c7dc84d7b2a76f0d2f3.zip
SHERLOCK: Fix bug when opening the journal
Diffstat (limited to 'engines')
-rw-r--r--engines/sherlock/journal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/journal.cpp b/engines/sherlock/journal.cpp
index b4b05da991..a3c12a6100 100644
--- a/engines/sherlock/journal.cpp
+++ b/engines/sherlock/journal.cpp
@@ -154,7 +154,7 @@ void Journal::loadJournalFile(bool alreadyLoaded) {
// Find the person being referred to
talk._talkTo = -1;
for (int idx = 0; idx < (int)people._characters.size(); ++idx) {
- Common::String portrait = people[idx]._portrait;
+ Common::String portrait = people._characters[idx]._portrait;
Common::String numStr(portrait.c_str(), portrait.c_str() + 4);
if (locStr == numStr) {