aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2015-04-24 21:12:05 -0500
committerPaul Gilbert2015-04-24 21:12:05 -0500
commit8fa2d48f1f00b4be5e04c305db2a5340e4480d89 (patch)
tree68b3ee21210808a822a9fd105223c5fb38ec57ef
parent55404f01d60fb4bb454ceb8e9289debbadda8470 (diff)
downloadscummvm-rg350-8fa2d48f1f00b4be5e04c305db2a5340e4480d89.tar.gz
scummvm-rg350-8fa2d48f1f00b4be5e04c305db2a5340e4480d89.tar.bz2
scummvm-rg350-8fa2d48f1f00b4be5e04c305db2a5340e4480d89.zip
SHERLOCK: Fix crash when entering backstage area
-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 18edec8c73..bb1fc9a883 100644
--- a/engines/sherlock/journal.cpp
+++ b/engines/sherlock/journal.cpp
@@ -286,7 +286,7 @@ int Journal::loadJournalFile(bool alreadyLoaded) {
else if (talk._talkTo == 2)
journalString += "The Inspector";
else
- journalString += inv._names[talk._talkTo];
+ journalString += NAMES[talk._talkTo];
const char *strP = replyP;
char v;