diff options
author | Paul Gilbert | 2017-01-24 22:52:38 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-01-24 22:52:38 -0500 |
commit | 333dd1184dc8ccad213dc3015fe70a2f2f7adb76 (patch) | |
tree | 5ccd80744ef6ae59fd46c4665feb3fa14e73a67f /engines/titanic/true_talk | |
parent | 8d6bb245ab822b01be4c89ef5716dc0f06d7c0c8 (diff) | |
download | scummvm-rg350-333dd1184dc8ccad213dc3015fe70a2f2f7adb76.tar.gz scummvm-rg350-333dd1184dc8ccad213dc3015fe70a2f2f7adb76.tar.bz2 scummvm-rg350-333dd1184dc8ccad213dc3015fe70a2f2f7adb76.zip |
TITANIC: Handle index 0 in TTconceptNode setConcept
Diffstat (limited to 'engines/titanic/true_talk')
-rw-r--r-- | engines/titanic/true_talk/tt_concept_node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/true_talk/tt_concept_node.cpp b/engines/titanic/true_talk/tt_concept_node.cpp index ccba1b81bb..5a791581ec 100644 --- a/engines/titanic/true_talk/tt_concept_node.cpp +++ b/engines/titanic/true_talk/tt_concept_node.cpp @@ -65,7 +65,7 @@ void TTconceptNode::deleteSiblings() { } TTconcept **TTconceptNode::setConcept(int conceptIndex, TTconcept *src) { - TTconcept **conceptPP = nullptr; + TTconcept **conceptPP = &_concept0P; switch (conceptIndex) { case 1: conceptPP = &_concept1P; |