[Scummvm-git-logs] scummvm master -> db1c506ee53e2fe1c89022bb23317b67d92e4e04

dreammaster dreammaster at scummvm.org
Thu May 3 03:54:33 CEST 2018


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:
db1c506ee5 TITANIC: Hopefully fix Release mode crash when selecting floors manually


Commit: db1c506ee53e2fe1c89022bb23317b67d92e4e04
    https://github.com/scummvm/scummvm/commit/db1c506ee53e2fe1c89022bb23317b67d92e4e04
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-05-02T21:54:24-04:00

Commit Message:
TITANIC: Hopefully fix Release mode crash when selecting floors manually

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


diff --git a/engines/titanic/true_talk/tt_parser.cpp b/engines/titanic/true_talk/tt_parser.cpp
index 5c48de4..75fd01e 100644
--- a/engines/titanic/true_talk/tt_parser.cpp
+++ b/engines/titanic/true_talk/tt_parser.cpp
@@ -960,7 +960,7 @@ int TTparser::considerRequests(TTword *word) {
 				case WC_ABSTRACT:
 					if (word->_id != 300) {
 						status = processModifiers(3, word);
-					} else if (!_conceptP->findByWordClass(WC_THING)) {
+					} else if (!_conceptP || !_conceptP->findByWordClass(WC_THING)) {
 						status = processModifiers(3, word);
 					} else {
 						word->_id = atoi(word->_text.c_str());





More information about the Scummvm-git-logs mailing list