diff options
author | Paul Gilbert | 2016-11-06 17:14:31 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-11-06 17:14:31 -0500 |
commit | 071a032447a7350bc490597e0db2214582a5ed24 (patch) | |
tree | 00d8b94c2ebf7771afcba601dfc616ba4532a822 | |
parent | 23f606a7a3140d29ea7f0f3ae2d02791ef283482 (diff) | |
download | scummvm-rg350-071a032447a7350bc490597e0db2214582a5ed24.tar.gz scummvm-rg350-071a032447a7350bc490597e0db2214582a5ed24.tar.bz2 scummvm-rg350-071a032447a7350bc490597e0db2214582a5ed24.zip |
TITANIC: Fix parser crash giving the same response multiple times
-rw-r--r-- | engines/titanic/true_talk/tt_concept.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/true_talk/tt_concept.cpp b/engines/titanic/true_talk/tt_concept.cpp index 1f1822cbc8..acb2e61e9e 100644 --- a/engines/titanic/true_talk/tt_concept.cpp +++ b/engines/titanic/true_talk/tt_concept.cpp @@ -131,7 +131,7 @@ void TTconcept::setScriptType(ScriptType scriptType) { int TTconcept::initializeWordRef(TTword *word) { delete _wordP; - _wordP = word; + _wordP = word->copy(); return 0; } |