[Scummvm-git-logs] scummvm master -> d82d9ad7fd9b261cf6cd18b8f4a4aba9da400d0f
dreammaster
paulfgilbert at gmail.com
Sat Aug 15 00:53:52 UTC 2020
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:
d82d9ad7fd TITANIC: Fix crash asking Barbot what else he needs
Commit: d82d9ad7fd9b261cf6cd18b8f4a4aba9da400d0f
https://github.com/scummvm/scummvm/commit/d82d9ad7fd9b261cf6cd18b8f4a4aba9da400d0f
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2020-08-14T17:53:13-07:00
Commit Message:
TITANIC: Fix crash asking Barbot what else he needs
Changed paths:
NEWS.md
engines/titanic/true_talk/tt_parser.cpp
diff --git a/NEWS.md b/NEWS.md
index c3159f8c7d..d42e0f551e 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -56,6 +56,9 @@ For a more comprehensive changelog of the latest experimental code, see:
Sword1:
- Added support for localized menus in Novy Disk Russian Trilogy release.
+ Titanic:
+ - Fixed Barbot crash after asking what else he needs.
+
Wintermute:
- Added subsystem for tracking achievements, implemented for 10+ games.
diff --git a/engines/titanic/true_talk/tt_parser.cpp b/engines/titanic/true_talk/tt_parser.cpp
index b0014b740d..14237ddd50 100644
--- a/engines/titanic/true_talk/tt_parser.cpp
+++ b/engines/titanic/true_talk/tt_parser.cpp
@@ -658,7 +658,7 @@ int TTparser::loadRequests(TTword *word) {
if (_sentence->checkCategory()) {
_sentenceConcept->_field1C = 1;
_sentenceConcept = _sentenceConcept->addSibling();
- delete this;
+ clear();
} else {
addNode(WORD_TYPE_IS_SENTENCE_TYPE);
}
More information about the Scummvm-git-logs
mailing list