diff options
Diffstat (limited to 'engines/sherlock/people.cpp')
-rw-r--r-- | engines/sherlock/people.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/people.cpp b/engines/sherlock/people.cpp index 0eda40c03f..9a42f94d4d 100644 --- a/engines/sherlock/people.cpp +++ b/engines/sherlock/people.cpp @@ -620,7 +620,7 @@ int People::findSpeaker(int speaker) { if (obj._type == ACTIVE_BG_SHAPE) { Common::String name(obj._name.c_str(), obj._name.c_str() + 4); - if (scumm_stricmp(PORTRAITS[speaker], name.c_str()) == 0 + if (name.equalsIgnoreCase(PORTRAITS[speaker]) && obj._name[4] >= '0' && obj._name[4] <= '9') return idx; } |