diff options
Diffstat (limited to 'engines/titanic/true_talk/doorbot_script.cpp')
-rw-r--r-- | engines/titanic/true_talk/doorbot_script.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/true_talk/doorbot_script.cpp b/engines/titanic/true_talk/doorbot_script.cpp index b1d6a91107..4fcf329af7 100644 --- a/engines/titanic/true_talk/doorbot_script.cpp +++ b/engines/titanic/true_talk/doorbot_script.cpp @@ -259,9 +259,9 @@ int DoorbotScript::process(const TTroomScript *roomScript, const TTsentence *sen break; case 16: { - TTtreeResult treeResult; + TTtreeResult treeResult[32]; if (g_vm->_trueTalkManager->_quotesTree.search(sentence->_normalizedLine.c_str(), - TREE_3, &treeResult, 0, nullptr) != -1) + TREE_3, &treeResult[0], 0, nullptr) != -1) return setResponse(getDialogueId(221380), 0); break; } |