[Scummvm-git-logs] scummvm master -> 071a032447a7350bc490597e0db2214582a5ed24

dreammaster dreammaster at scummvm.org
Sun Nov 6 23:14:38 CET 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
071a032447 TITANIC: Fix parser crash giving the same response multiple times


Commit: 071a032447a7350bc490597e0db2214582a5ed24
    https://github.com/scummvm/scummvm/commit/071a032447a7350bc490597e0db2214582a5ed24
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2016-11-06T17:14:31-05:00

Commit Message:
TITANIC: Fix parser crash giving the same response multiple times

Changed paths:
    engines/titanic/true_talk/tt_concept.cpp



diff --git a/engines/titanic/true_talk/tt_concept.cpp b/engines/titanic/true_talk/tt_concept.cpp
index 1f1822c..acb2e61 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;
 }
 





More information about the Scummvm-git-logs mailing list