diff options
author | Paul Gilbert | 2016-12-18 22:19:26 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-12-18 22:19:26 -0500 |
commit | 82421eac5f5defc3ee84b0d8f193dbb028c7565e (patch) | |
tree | 16af2293ac81650f99684f891a8a48503a6abe14 /engines/titanic/true_talk | |
parent | 12fe1ae78fd4044917ef0cd57ae173e488096b6e (diff) | |
download | scummvm-rg350-82421eac5f5defc3ee84b0d8f193dbb028c7565e.tar.gz scummvm-rg350-82421eac5f5defc3ee84b0d8f193dbb028c7565e.tar.bz2 scummvm-rg350-82421eac5f5defc3ee84b0d8f193dbb028c7565e.zip |
TITANIC: Fix parrot check when starting TrueTalk
Diffstat (limited to 'engines/titanic/true_talk')
-rw-r--r-- | engines/titanic/true_talk/true_talk_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/true_talk/true_talk_manager.cpp b/engines/titanic/true_talk/true_talk_manager.cpp index 795e160092..8b1cd8cc9a 100644 --- a/engines/titanic/true_talk/true_talk_manager.cpp +++ b/engines/titanic/true_talk/true_talk_manager.cpp @@ -352,7 +352,7 @@ void CTrueTalkManager::setDialogue(CTrueTalkNPC *npc, TTroomScript *roomScript, TTtalker *talker = new TTtalker(this, npc); _talkers.push_back(talker); - bool isParrot = npc->getName().contains("parrot"); + bool isParrot = npc->getName().containsIgnoreCase("parrot"); triggerNPC(npc); playSpeech(talker, roomScript, view, isParrot); talker->speechStarted(dialogueStr, _titleEngine._indexes[0], speechDuration); |