[Scummvm-cvs-logs] scummvm master -> d095fafa6c1292f85438a20876b4e45eafbdf4f9

bluegr bluegr at gmail.com
Mon Jun 1 02:48:42 CEST 2015


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
d095fafa6c SHERLOCK: Fix bug when opening the journal


Commit: d095fafa6c1292f85438a20876b4e45eafbdf4f9
    https://github.com/scummvm/scummvm/commit/d095fafa6c1292f85438a20876b4e45eafbdf4f9
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2015-06-01T03:47:33+03:00

Commit Message:
SHERLOCK: Fix bug when opening the journal

Changed paths:
    engines/sherlock/journal.cpp



diff --git a/engines/sherlock/journal.cpp b/engines/sherlock/journal.cpp
index b4b05da..a3c12a6 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) {






More information about the Scummvm-git-logs mailing list